File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 ubuntu-build :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v1
9+ - uses : actions/checkout@v4
10+ with :
11+ submodules : true
1012 - name : Setup environment
1113 run : |
1214 sudo add-apt-repository ppa:ubuntu-toolchain-r/test
1315 sudo apt-get update
1416 sudo apt-get install texlive*
15- - name : Update submodules
16- run : git submodule update --init --recursive
1717 - name : Build
1818 run : |
1919 mkdir build
2222 cmake --build .
2323 cd ..
2424 shell : bash
25- - uses : actions/upload-artifact@v2
25+ - uses : actions/upload-artifact@v4
2626 with :
2727 name : ubuntu-artifacts
2828 path : build/bin/
29+ windows-build :
30+ runs-on : windows-latest
31+ steps :
32+ - uses : actions/checkout@v4
33+ with :
34+ submodules : true
35+ - name : Setup environment
36+ run : |
37+ choco install miktex --no-progress
38+ echo "C:\Program Files\MiKTeX\miktex\bin\x64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
39+ - name : Build
40+ run : |
41+ mkdir build
42+ cd build
43+ cmake -D USE_LATEX=ON ..
44+ cmake --build .
45+ cd ..
46+ shell : bash
47+ - uses : actions/upload-artifact@v4
48+ with :
49+ name : windows-artifacts
50+ path : build/bin/
You can’t perform that action at this time.
0 commit comments