mirror of
https://github.com/logos-storage/logos-storage-go-bindings.git
synced 2026-05-03 08:33:45 +00:00
Another try
This commit is contained in:
parent
d772680ca5
commit
b3e8af2f4f
33
.github/workflows/artifacts.yml
vendored
33
.github/workflows/artifacts.yml
vendored
@ -29,25 +29,12 @@ jobs:
|
|||||||
lib_ext: dll
|
lib_ext: dll
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: MSYS2 (Windows amd64)
|
|
||||||
if: matrix.target.os == 'windows-latest' && matrix.target.cpu == 'amd64'
|
|
||||||
uses: msys2/setup-msys2@v2
|
|
||||||
with:
|
|
||||||
path-type: inherit
|
|
||||||
msystem: UCRT64
|
|
||||||
install: >-
|
|
||||||
base-devel
|
|
||||||
git
|
|
||||||
mingw-w64-ucrt-x86_64-toolchain
|
|
||||||
mingw-w64-ucrt-x86_64-cmake
|
|
||||||
mingw-w64-ucrt-x86_64-ntldd-git
|
|
||||||
mingw-w64-ucrt-x86_64-rust
|
|
||||||
|
|
||||||
- name: Enable long paths (Windows)
|
- name: Enable long paths (Windows)
|
||||||
if: matrix.target.os == 'windows-latest'
|
if: matrix.target.os == 'windows-latest'
|
||||||
shell: msys2 {0}
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
git config --global core.longpaths true
|
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1
|
||||||
|
git config --system core.longpaths true
|
||||||
|
|
||||||
- name: Check out sources
|
- name: Check out sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -74,6 +61,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: vendor/logos-storage-nim/build
|
path: vendor/logos-storage-nim/build
|
||||||
key: ${{ runner.os }}-${{ matrix.target.cpu }}-libstorage-${{ hashFiles('vendor/logos-storage-nim/.storage-commit') }}
|
key: ${{ runner.os }}-${{ matrix.target.cpu }}-libstorage-${{ hashFiles('vendor/logos-storage-nim/.storage-commit') }}
|
||||||
|
|
||||||
|
- name: MSYS2 (Windows amd64)
|
||||||
|
if: matrix.target.os == 'windows-latest' && matrix.target.cpu == 'amd64'
|
||||||
|
uses: msys2/setup-msys2@v2
|
||||||
|
with:
|
||||||
|
path-type: inherit
|
||||||
|
msystem: UCRT64
|
||||||
|
install: >-
|
||||||
|
base-devel
|
||||||
|
git
|
||||||
|
mingw-w64-ucrt-x86_64-toolchain
|
||||||
|
mingw-w64-ucrt-x86_64-cmake
|
||||||
|
mingw-w64-ucrt-x86_64-ntldd-git
|
||||||
|
mingw-w64-ucrt-x86_64-rust
|
||||||
|
|
||||||
- name: Build libstorage (Linux)
|
- name: Build libstorage (Linux)
|
||||||
if: matrix.target.lib_ext == 'so' && steps.cache-libstorage.outputs.cache-hit != 'true'
|
if: matrix.target.lib_ext == 'so' && steps.cache-libstorage.outputs.cache-hit != 'true'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user