1010jobs :
1111 build-myst :
1212 runs-on : ubuntu-latest
13-
13+
1414 steps :
1515 - name : Checkout repository
1616 uses : actions/checkout@v4
17-
17+
1818 - name : Setup Pixi
1919 uses :
prefix-dev/[email protected] 2020 with :
2121 pixi-version : latest
22-
22+
2323 - name : Install dependencies
2424 run : pixi install
25-
25+
2626 - name : Build HTML
2727 run : pixi run build-html
28-
28+
2929 - name : Build PDF
3030 run : pixi run build-pdf
31-
32- - name : Build all formats
33- run : pixi run build-complete
34-
31+
32+ - name : Build MECA
33+ run : pixi run build-meca
34+
3535 - name : Upload build artifacts
3636 uses : actions/upload-artifact@v4
3737 with :
@@ -43,25 +43,25 @@ jobs:
4343
4444 build-source :
4545 runs-on : ubuntu-latest
46-
46+
4747 steps :
4848 - name : Checkout repository
4949 uses : actions/checkout@v4
50-
50+
5151 - name : Setup Pixi
5252 uses :
prefix-dev/[email protected] 5353 with :
5454 pixi-version : latest
55-
55+
5656 - name : Install dependencies
5757 run : pixi install
58-
58+
5959 - name : Build source code
6060 run : pixi run build-src
61-
61+
6262 - name : Run tests
6363 run : pixi run test-src
64-
64+
6565 - name : Upload test results
6666 uses : actions/upload-artifact@v4
6767 if : always()
@@ -75,22 +75,22 @@ jobs:
7575 runs-on : ubuntu-latest
7676 needs : [build-myst, build-source]
7777 if : github.ref == 'refs/heads/main' || github.ref == 'refs/heads/myst'
78-
78+
7979 steps :
8080 - name : Checkout repository
8181 uses : actions/checkout@v4
82-
82+
8383 - name : Setup Pixi
8484 uses :
prefix-dev/[email protected] 8585 with :
8686 pixi-version : latest
87-
87+
8888 - name : Install dependencies
8989 run : pixi install
90-
90+
9191 - name : Build for deployment
9292 run : pixi run build-complete
93-
93+
9494 - name : Deploy to GitHub Pages
9595 uses : peaceiris/actions-gh-pages@v3
9696 if : github.ref == 'refs/heads/main'
0 commit comments