Browse Source

juliac: add CI configuration for compiling and running runic

pull/57/head
Fredrik Ekre 1 year ago
parent
commit
a16b73abac
No known key found for this signature in database
GPG Key ID: DE82E6D5E364C0A2
  1. 36
      .github/workflows/Compile.yml
  2. 2
      .github/workflows/Test.yml

36
.github/workflows/Compile.yml

@ -0,0 +1,36 @@ @@ -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
.github/workflows/Test.yml

@ -11,7 +11,7 @@ on: @@ -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

Loading…
Cancel
Save