Use ArchiveSource to download binaries. Also use GCC 10. #23
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: Dev CI | |
on: | |
push: | |
branches: | |
# on all branches except main where full build will be run | |
- '*' | |
- '!main' | |
jobs: | |
linux_build: | |
name: Build linux ${{ matrix.python.name }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: | |
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia. | |
os: | |
- ubuntu-latest | |
arch: | |
- x64 | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: '1.10' | |
- name: Install requirements | |
run: | | |
julia install_requirements.jl | |
- name: Build and install Powsybl_jll | |
run: | | |
julia build_local.jl --verbose --deploy="local" | |
- name: Setup Powsybl_jll as dev package | |
run: | | |
eval "julia -e 'using Pkg; Pkg.REPLMode.PRINTED_REPL_WARNING[] = true; pkg\"dev Powsybl_jll\"'" | |
- name: Install Powsybl package | |
run: | | |
eval "julia -e 'using Pkg; Pkg.REPLMode.PRINTED_REPL_WARNING[] = true; pkg\"dev .\"'" | |
- name: Test | |
run: | | |
julia test/print_version.jl | |
- name: Test | |
run: | | |
julia test/print_network.jl |