mirror of https://github.com/fredrikekre/Runic.jl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
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 .
|
|
|