Skip to content

Commit

Permalink
juliac: add CI configuration for compiling and running runic
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Sep 4, 2024
1 parent b78cfc1 commit a16b73a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/Compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Compile

on:
push:
branches:
- 'master'
- 'release-'
tags:
- '*'
pull_request:

jobs:
compile:
name: juliac - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
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 .
2 changes: 1 addition & 1 deletion .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down

0 comments on commit a16b73a

Please sign in to comment.