|
@@ -56,9 +56,9 @@ jobs:
|
|
runs-on: macos-latest
|
|
runs-on: macos-latest
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/checkout@v1
|
|
- - name: Download LLVM and setup PATH
|
|
|
|
|
|
+ - name: Download LLVM, botan and setup PATH
|
|
run: |
|
|
run: |
|
|
- brew install llvm@11
|
|
|
|
|
|
+ brew install llvm@11 botan
|
|
echo "/usr/local/opt/llvm@11/bin" >> $GITHUB_PATH
|
|
echo "/usr/local/opt/llvm@11/bin" >> $GITHUB_PATH
|
|
TMP_PATH=$(xcrun --show-sdk-path)/user/include
|
|
TMP_PATH=$(xcrun --show-sdk-path)/user/include
|
|
echo "CPATH=$TMP_PATH" >> $GITHUB_ENV
|
|
echo "CPATH=$TMP_PATH" >> $GITHUB_ENV
|
|
@@ -87,6 +87,11 @@ jobs:
|
|
cd tests/core
|
|
cd tests/core
|
|
make
|
|
make
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
|
|
+ - name: Vendor library tests
|
|
|
|
+ run: |
|
|
|
|
+ cd tests/vendor
|
|
|
|
+ make
|
|
|
|
+ timeout-minutes: 10
|
|
- name: Odin internals tests
|
|
- name: Odin internals tests
|
|
run: |
|
|
run: |
|
|
cd tests/internal
|
|
cd tests/internal
|
|
@@ -99,13 +104,13 @@ jobs:
|
|
run: ./odin check examples/all -vet -strict-style -target:linux_arm64
|
|
run: ./odin check examples/all -vet -strict-style -target:linux_arm64
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
build_windows:
|
|
build_windows:
|
|
- runs-on: windows-2019
|
|
|
|
|
|
+ runs-on: windows-2022
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/checkout@v1
|
|
- name: build Odin
|
|
- name: build Odin
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
./build.bat 1
|
|
./build.bat 1
|
|
- name: Odin version
|
|
- name: Odin version
|
|
run: ./odin version
|
|
run: ./odin version
|
|
@@ -116,65 +121,65 @@ jobs:
|
|
- name: Odin check
|
|
- name: Odin check
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
odin check examples/demo -vet
|
|
odin check examples/demo -vet
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
- name: Odin run
|
|
- name: Odin run
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
odin run examples/demo
|
|
odin run examples/demo
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
- name: Odin run -debug
|
|
- name: Odin run -debug
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
odin run examples/demo -debug
|
|
odin run examples/demo -debug
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
- name: Odin check examples/all
|
|
- name: Odin check examples/all
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
odin check examples/all -strict-style
|
|
odin check examples/all -strict-style
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
- name: Core library tests
|
|
- name: Core library tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
cd tests\core
|
|
cd tests\core
|
|
call build.bat
|
|
call build.bat
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
- name: Vendor library tests
|
|
- name: Vendor library tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
cd tests\vendor
|
|
cd tests\vendor
|
|
call build.bat
|
|
call build.bat
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
- name: Odin internals tests
|
|
- name: Odin internals tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
cd tests\internal
|
|
cd tests\internal
|
|
call build.bat
|
|
call build.bat
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
- name: Odin documentation tests
|
|
- name: Odin documentation tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
cd tests\documentation
|
|
cd tests\documentation
|
|
call build.bat
|
|
call build.bat
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
- name: core:math/big tests
|
|
- name: core:math/big tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
cd tests\core\math\big
|
|
cd tests\core\math\big
|
|
call build.bat
|
|
call build.bat
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
- name: Odin check examples/all for Windows 32bits
|
|
- name: Odin check examples/all for Windows 32bits
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
|
|
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
odin check examples/all -strict-style -target:windows_i386
|
|
odin check examples/all -strict-style -target:windows_i386
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|