mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 07:52:03 +00:00
Fix Windows build setup
This commit is contained in:
1 parent
1cbcf6f546
commit
47169157bb
1 file changed
+2
-6
@@ -27,7 +27,7 @@ jobs:
|
||||
else
|
||||
brew install pkg-config
|
||||
fi
|
||||
- name: Install MSYS2 and secp256k1
|
||||
- name: Install MSYS2 toolchain
|
||||
if: runner.os == 'Windows'
|
||||
id: msys
|
||||
uses: msys2/setup-msys2@v2
|
||||
@@ -35,15 +35,11 @@ jobs:
|
||||
update: true
|
||||
install: >-
|
||||
mingw-w64-x86_64-toolchain
|
||||
mingw-w64-x86_64-libsecp256k1
|
||||
base-devel
|
||||
- name: Set PKG_CONFIG_PATH
|
||||
if: runner.os == 'Windows'
|
||||
shell: bash
|
||||
run: echo "PKG_CONFIG_PATH=${{ steps.msys.outputs.msys2-location }}/mingw64/lib/pkgconfig" >> $GITHUB_ENV
|
||||
- name: Set libsecp256k1 path
|
||||
if: runner.os == 'Windows'
|
||||
shell: bash
|
||||
run: echo "SECP256K1_LIB_DIR=${{ steps.msys.outputs.msys2-location }}/mingw64" >> $GITHUB_ENV
|
||||
- name: Cache pip
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user