Skip to content

Move JuliaSyntax + JuliaLowering into the main tree #16

Move JuliaSyntax + JuliaLowering into the main tree

Move JuliaSyntax + JuliaLowering into the main tree #16

Workflow file for this run

name: JuliaSyntax
on:
push:
branches:
- master
- release-*
paths:
- 'JuliaSyntax/**'
tags: '*'
pull_request:
paths:
- 'JuliaSyntax/**'
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
runs-on: ${{ matrix.github-runner }}
timeout-minutes: 60
permissions:
contents: read
strategy:
fail-fast: false
matrix:
julia-version:
- '1.0'
- '1.6'
- '1.10'
- '1'
github-runner:
- ubuntu-latest
- macos-13
- macos-latest
- windows-latest
julia-wordsize:
# The value here only affects the version of Julia binary that we download.
# It does not affect the architecture of the GitHub Runner (virtual machine) that
# we run on.
- '32' # 32-bit Julia. Only available on x86_64. Not available on aarch64.
- '64' # 64-bit Julia.
exclude:
# For Intel macOS we don't have 32-bit builds of Julia
- github-runner: macos-13
julia-wordsize: '32'
# For Apple Silicon macOS we don't have 32-bit builds of Julia, nor
# builds for older Julia versions.
- github-runner: macos-latest
julia-wordsize: '32'
- github-runner: macos-latest
julia-version: '1.0'
- github-runner: macos-latest
julia-version: '1.6'
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: julia-actions/setup-julia@5c9647d97b78a5debe5164e9eec09d653d29bd71 # v2.6.1
with:
version: ${{ matrix.julia-version }}
# If `julia-wordsize` is 32, then we set `arch` to `x86`, because we know that
# 32-bit builds of Julia are only available for x86.
#
# If `julia-wordsize` is 64, then we set `arch` to `${{ runner.arch }}`, which
# GitHub will automatically expand to the correct value (`x86_64` or `aarch64`)
# based on the architecture of the underlying GitHub Runner (virtual machine).
arch: ${{ matrix.julia-wordsize == '32' && 'x86' || runner.arch }}
- uses: julia-actions/julia-buildpkg@e3eb439fad4f9aba7da2667e7510e4a46ebc46e1 # v1.7.0
- uses: julia-actions/julia-runtest@678da69444cd5f13d7e674a90cb4f534639a14f9 # v1.11.2
with:
project: JuliaSyntax