From 8a6f182f3baae4c51652185ff4a18ebe73e77b31 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Wed, 4 Sep 2024 12:54:08 +0200 Subject: [PATCH] juliac: add CI configuration for compiling and running runic --- .github/workflows/Test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 8c53dea..ae8638b 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -45,3 +45,26 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }} + juliac: + name: juliac - ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - ubuntu-latest + - macOS-latest + steps: + - uses: actions/checkout@v4 + # - uses: julia-actions/setup-julia@v2 + # with: + # version: 'nightly' + - uses: julia-actions/install-juliaup@v2 + with: + channel: 'pr55047' # https://github.com/JuliaLang/julia/pull/55047 + - uses: julia-actions/cache@v2 + - name: Compile Runic with juliac + run: | + make -C juliac + - name: Smoke test compiled binary + run: | + ./juliac/runicc --check --diff .