Skip to content

Commit

Permalink
Try setting the path manually
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Aug 14, 2024
1 parent fcaa9b7 commit c6a5266
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/csharp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ jobs:
- name: Install requirements
if: ${{ matrix.target.reqs }}
run: ${{ matrix.target.reqs }}
- name: Build native library for ${{ matrix.target.location }} using native capabilities
- name: Build native library for ${{ matrix.target.location }} using native capabilities (windows)
run: |
set "PATH=C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64"
make ckzg -C bindings/csharp CC=clang EXTENSION=${{matrix.target.ext}} LOCATION=${{matrix.target.location}} ARCH=${{matrix.target.arch}}
- name: Build native library for ${{ matrix.target.location }} using native capabilities (non-windows)
run: make ckzg -C bindings/csharp CC=clang EXTENSION=${{matrix.target.ext}} LOCATION=${{matrix.target.location}} ARCH=${{matrix.target.arch}}
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down
1 change: 0 additions & 1 deletion bindings/csharp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ all: blst ckzg ckzg-dotnet

.PHONY: blst
blst:
cp ../../build.bat ../../blst/build.bat
cd ../../blst && $(BLST_BUILDSCRIPT) $(BLST_BUILDSCRIPT_FLAGS)

.PHONY: ckzg
Expand Down
1 change: 0 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ $(BLST_BUILDSCRIPT):
@git submodule update --init

$(BLST_LIBRARY): $(BLST_BUILDSCRIPT)
@cp ../build.bat ../blst/build.bat
@cd $(dir $(BLST_BUILDSCRIPT)) && \
./$(notdir $(BLST_BUILDSCRIPT)) $(BLST_BUILDSCRIPT_FLAGS) && \
cp $(notdir $(BLST_LIBRARY)) ../lib && \
Expand Down

0 comments on commit c6a5266

Please sign in to comment.