-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (39 loc) · 1.06 KB
/
Compile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
- name: Patch julia-config.jl
run: |
juliaconfig=$(julia -e 'print(joinpath(Sys.BINDIR, Base.DATAROOTDIR,"julia", "julia-config.jl"))')
patch -p1 "${juliaconfig}" juliac/rpath-private-libs-macos.patch
if: ${{ matrix.os == 'macOS-latest' }}
- uses: julia-actions/cache@v2
- name: Compile Runic with juliac
run: |
make -C juliac
- name: Smoke test compiled binary
run: |
./juliac/runicc --check --diff .