wip #2691
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Julia tests | |
on: | |
push: | |
branches: [ ] | |
pull_request: | |
branches: [ ] | |
env: | |
DEX_CI: 1 | |
concurrency: | |
group: julia-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
if: false # TODO: Fix Julia bindings! | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
include: | |
- os: ubuntu-20.04 | |
install_deps: sudo apt-get install llvm-12-tools llvm-12-dev pkg-config wget gzip | |
path_extension: /usr/lib/llvm-12/bin | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: Setup Julia | |
uses: julia-actions/setup-julia@ee66464cb7897ffcc5322800f4b18d449794af30 # v1.6.1 | |
with: | |
version: '1.6' | |
arch: x64 | |
- name: Cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.stack | |
$GITHUB_WORKSPACE/.stack-work | |
~/.julia/artifacts | |
key: ${{ runner.os }}-v2-julia-${{ hashFiles('**/*.cabal', 'stack*.yaml', '**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-v2-julia- | |
${{ runner.os }}-v2- | |
- name: Build DexCall.jl | |
uses: julia-actions/julia-buildpkg@f995fa4149fed4a8e9b95ba82f54cc107c1d832a #v1.2.0 | |
with: | |
project: "julia/" | |
- name: Test DexCall.jl | |
uses: julia-actions/julia-runtest@eda4346d69c0d1653e483c397a83c7f32f4ef2ac # v1.6.0 | |
with: | |
project: "julia/" |