Quickfix in compat for Julia 1.10 #85
Workflow file for this run
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: Build CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.sys.os }} | |
strategy: | |
matrix: | |
sys: | |
- { os: windows-latest, shell: 'msys2 {0}' } | |
- { os: ubuntu-latest, shell: bash } | |
- { os: macos-latest, shell: bash } | |
defaults: | |
run: | |
shell: ${{ matrix.sys.shell }} | |
name: building OMParser.jl/lib/parser | |
steps: | |
- name: setup julia environment | |
uses: julia-actions/setup-julia@v1 | |
with: | |
version: "1.10.0" | |
- name: setup msys2 environment | |
uses: msys2/setup-msys2@v2 | |
with: | |
update: false | |
platform-check-severity: warn | |
install: autoconf automake m4 pkg-config libtool base-devel mingw-w64-x86_64-toolchain | |
path-type: inherit # to find julia! | |
- name: set git to use LF on Windows | |
if: contains(matrix.sys.os, 'windows') | |
run: | | |
git config --system core.autocrlf false | |
git config --system core.eol lf | |
- uses: actions/checkout@v2 | |
- name: configure the library and build | |
run: | | |
which gcc | |
gcc --version | |
cd lib/parser | |
autoconf | |
./configure | |
make | |
cd ../build/lib | |
tar -czvf ${{matrix.sys.os}}-library.tar.gz * | |
mv ${{matrix.sys.os}}-library.tar.gz '${{github.workspace}}/'. | |
- name: Run the testsuite | |
uses: julia-actions/julia-runtest@v1 | |
with: | |
version: "1.10.0" | |
- name: upload library | |
uses: actions/upload-artifact@v2 | |
with: | |
name: parser-library | |
path: ${{github.workspace}}/${{matrix.sys.os}}-library.tar.gz |