-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (45 loc) · 1.31 KB
/
dev-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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