Skip to content

tag 1.0 with ProtoBuf pinned to working version #107

tag 1.0 with ProtoBuf pinned to working version

tag 1.0 with ProtoBuf pinned to working version #107

Workflow file for this run

name: CI
on:
push:
branches: [main]
tags: ["*"]
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
version:
- '1.6'
- '1' # automatically expands to the latest stable 1.x release of Julia
os:
- ubuntu-latest
arch:
- x64
- x86
experimental: [false]
include:
# allow failures on nightlies
- os: ubuntu-latest
arch: x64
version: nightly
experimental: true
continue-on-error: true
- os: ubuntu-latest
arch: x86
version: nightly
experimental: true
continue-on-error: true
# test macOS and Windows with latest Julia only
- os: macOS-latest
arch: x64
version: 1
experimental: true
- os: windows-latest
arch: x64
version: 1
experimental: false
- os: windows-latest
arch: x86
version: 1
experimental: false
steps:
- uses: actions/checkout@v2
# - name: setup protoc
# uses: arduino/setup-protoc@v1
# with:
# version: '3.x'
# - run: protoc --version
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- name: Install ProtoBuf For Code Generation
run: julia -e 'using Pkg; Pkg.add([Pkg.PackageSpec(;name="ProtoBuf", version="0.11.5"), Pkg.PackageSpec(;name="protoc_jll")]); Pkg.instantiate(); Pkg.build();'
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info