File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 branches :
1010 - main
1111 - develop
12- workflow_dispatch : # Allows manual triggering
12+ workflow_dispatch :
1313
1414jobs :
1515 build :
1818
1919 strategy :
2020 matrix :
21- os : [ubuntu-latest, windows-latest, macos-latest] # Run on all major OSes
22- build_mode : [debug, release] # Build both Debug and Release
21+ os : [ubuntu-latest, windows-latest, macos-latest]
22+ build_mode : [debug, release]
2323
2424 env :
2525 BUILD_MODE : ${{ matrix.build_mode }}
6565 run : |
6666 make copy_rust_lib BUILD_MODE=${{ matrix.build_mode }}
6767
68+ - name : Set Library Path (Linux/macOS)
69+ if : runner.os != 'Windows'
70+ run : |
71+ echo "LD_LIBRARY_PATH=$(pwd)/CSharpDemo/bin/${{ matrix.build_mode }}/net9.0" >> $GITHUB_ENV
72+ echo "DYLD_LIBRARY_PATH=$(pwd)/CSharpDemo/bin/${{ matrix.build_mode }}/net9.0" >> $GITHUB_ENV
73+
74+ - name : Set Library Path (Windows)
75+ if : runner.os == 'Windows'
76+ run : |
77+ echo "PATH=$(pwd)\CSharpDemo\bin\${{ matrix.build_mode }}\net9.0;%PATH%" >> $GITHUB_ENV
78+
6879 - name : Run C# Application (${{ matrix.build_mode }}) (Linux & macOS)
6980 if : matrix.os != 'windows-latest'
7081 run : |
You can’t perform that action at this time.
0 commit comments