aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2024-03-28 13:41:38 +0100
committerDanielGavin <danielgavin5@hotmail.com>2024-03-28 13:41:38 +0100
commitc413b8cbaead9c4ac9a174d56b8a62b6445e9fd5 (patch)
tree8cb9f0fcce1d1de63e81b3b2481c6bf896fcbfa1 /.github/workflows
parent1be454a8b0b6c515d5c89b2363e24fed6e1f0707 (diff)
Fix CI for windows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7e1e15d..9ab6d9a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,21 +20,19 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- - name: Setup Dependencies
+ - name: Download Odin
+ shell: cmd
run: |
- git clone --depth 1 https://github.com/odin-lang/Odin
- cd Odin/bin
- $ProgressPreference = "SilentlyContinue";
- Invoke-WebRequest -Uri https://github.com/odin-lang/Odin/releases/download/llvm-windows/llvm-binaries.zip -OutFile llvm-binaries.zip
- 7z x llvm-binaries.zip > $null
- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
+ git clone https://github.com/odin-lang/Odin
- name: Build Odin
+ shell: cmd
run: |
+ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
cd Odin
./build.bat 1
- name: Build ols
+ shell: cmd
run: ./build.bat CI
-
linux:
strategy:
matrix: