From 1bdce19c18c1438b22f04030f64ed53b2208b9fa Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 25 Apr 2021 18:44:05 +0100 Subject: [PATCH] Update nightly.yml to support `-llvm-api` --- .github/workflows/nightly.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1b6d82eaf..18141b736 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -49,9 +49,11 @@ jobs: steps: - uses: actions/checkout@v1 - name: (Linux) Download LLVM - run: sudo apt-get install llvm + run: sudo apt-get install llvm-11 clang-11 llvm - name: build odin run: make nightly + - name: Odin run -llvm-api + run: ./odin run examples/demo/demo.odin -llvm-api - name: Odin run run: ./odin run examples/demo/demo.odin - name: Copy artifacts @@ -78,6 +80,8 @@ jobs: echo "CPATH=$TMP_PATH" >> $GITHUB_ENV - name: build odin run: make nightly + - name: Odin run -llvm-api + run: ./odin run examples/demo/demo.odin -llvm-api - name: Odin run run: ./odin run examples/demo/demo.odin - name: Copy artifacts @@ -100,26 +104,26 @@ jobs: - uses: actions/setup-python@v2 with: python-version: '3.x' - + - name: Install B2 CLI shell: bash run: | python -m pip install --upgrade pip pip install --upgrade b2 - + - name: Display Python version run: python -c "import sys; print(sys.version)" - + - name: Download Windows artifacts uses: actions/download-artifact@v1 with: name: windows_artifacts - + - name: Download Ubuntu artifacts uses: actions/download-artifact@v1 with: name: ubuntu_artifacts - + - name: Download macOS artifacts uses: actions/download-artifact@v1 with: