|
8 | 8 | jobs: |
9 | 9 | build: |
10 | 10 |
|
11 | | - runs-on: ubuntu-18.04 |
| 11 | + runs-on: ubuntu-22.04 |
12 | 12 |
|
13 | 13 | steps: |
14 | | - - uses: actions/checkout@v2 |
| 14 | + - uses: actions/checkout@v3 |
15 | 15 | with: |
16 | 16 | ref: 'debug_ubuntu' |
| 17 | + |
| 18 | + - name: update apt cache & install packages |
| 19 | + run: sudo apt update && sudo apt -y install git cmake libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev gettext libssl-dev libcurl4-openssl-dev |
| 20 | + |
17 | 21 | - name: update submodule profiles |
18 | 22 | working-directory: ./resources/profiles |
19 | 23 | run: git submodule update --init |
20 | | - - name: change date in version |
21 | | - run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc |
| 24 | + |
22 | 25 | - name: update clock |
23 | 26 | run: sudo hwclock -s |
24 | | - - name: update apt |
25 | | - run: sudo apt update |
26 | | - - name: install gtk2 glew |
27 | | - run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev libssl-dev libcurl4-openssl-dev |
| 27 | + |
| 28 | + - name: change date in version |
| 29 | + run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc |
| 30 | + |
28 | 31 | - name: build deps & slicer |
29 | | - run: ./BuildLinux.sh -bdgs |
| 32 | + run: ./BuildLinux.sh -bds |
| 33 | + |
30 | 34 | - name: make .pot |
31 | 35 | working-directory: ./build |
32 | 36 | run: make gettext_make_pot |
| 37 | + |
33 | 38 | - name: build tar & appimage |
34 | 39 | working-directory: ./build |
35 | 40 | run: src/BuildLinuxImage.sh -i |
| 41 | + |
36 | 42 | - name: Upload artifact |
37 | | - uses: actions/upload-artifact@v1.0.0 |
| 43 | + uses: actions/upload-artifact@v3 |
38 | 44 | with: |
39 | | - name: nightly_linux_gtk2.tar |
| 45 | + name: nightly_linux.tar |
40 | 46 | path: build/${{ github.event.repository.name }}.tar |
| 47 | + |
41 | 48 | - name: Upload appimage |
42 | | - uses: actions/upload-artifact@v1.0.0 |
| 49 | + uses: actions/upload-artifact@v3 |
43 | 50 | with: |
44 | | - name: ${{ github.event.repository.name }}-gtk2.AppImage |
| 51 | + name: ${{ github.event.repository.name }}.AppImage |
45 | 52 | path: build/${{ github.event.repository.name }}_ubu64.AppImage |
| 53 | + |
0 commit comments