diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2021-04-25 23:16:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-25 23:16:46 +0200 |
| commit | e9dfb0b598b8cee0ca296a7edb92475aac37a5ae (patch) | |
| tree | ea947232e78ff9938a10a2d5a0581d0eca1553a0 /.github/workflows | |
| parent | f78cd3dbe790722f36af62657104a37c59373a4b (diff) | |
Update ci.yml
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d55452e..b5c928b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,5 +52,25 @@ jobs: make release - name: Build ols run: ./build.sh CI + build_macOS: + runs-on: macos-latest + steps: + - uses: actions/checkout@v1 + - name: Download LLVM and setup PATH + run: | + brew install llvm@11 + echo "/usr/local/opt/llvm/bin" >> $GITHUB_PATH + TMP_PATH=$(xcrun --show-sdk-path)/user/include + echo "CPATH=$TMP_PATH" >> $GITHUB_ENV + - name: Download Odin + run: git clone https://github.com/odin-lang/Odin + - name: Build Odin + run: | + cd Odin + make release + - name: Build ols + run: ./build.sh CI + + |