File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1919jobs :
2020 build_everything :
2121 runs-on : windows-latest
22+ strategy :
23+ matrix :
24+ targetbits : ["x32", "x64"]
25+ targetos : ["linux", "msvc"]
2226
2327 steps :
2428 - name : Prepare env
@@ -44,25 +48,21 @@ jobs:
4448 - name : Install Rust toolchains
4549 working-directory : ./srcwrtimer_sample_extension
4650 run : |
47- cargo make rustup-linux
48- cargo make rustup-msvc
51+ cargo make rustup-${{ matrix.targetos }}
4952 - name : Clone alliedmodders repositories
5053 run : cargo make clone-alliedmodders
5154 working-directory : ./srcwrtimer_sample_extension
5255 - name : Setup SourcePawn Compiler
5356 uses :
rumblefrog/[email protected] 5457 with :
55- version : ' 1.12.7187 ' # ## UPDATE Makefile.toml whenever this is updated.
58+ version : ' 1.12.7193 ' # ## UPDATE Makefile.toml whenever this is updated.
5659 - name : Setup Zig
5760 uses : mlugg/setup-zig@v1
5861 with :
5962 version : ' 0.13.0' # ## UPDATE Makefile.toml whenever this is updated.
60- - name : Build extensions for Linux
63+ - name : Build extensions
6164 working-directory : ./srcwrtimer_sample_extension
62- run : cargo make linux
63- - name : Build extensions for Windows/MSVC
64- working-directory : ./srcwrtimer_sample_extension
65- run : cargo make msvc
65+ run : cargo make --profile ${{ matrix.targetbits }} ${{ matrix.targetos }}
6666 - name : Copy things to _package
6767 working-directory : ./srcwrtimer_sample_extension
6868 run : |
You can’t perform that action at this time.
0 commit comments