Skip to content

Commit 5d247fd

Browse files
authored
gh: update GitHub workflow for new Ubuntu image (#321)
The id `ubuntu-latest` was deprecated a while ago.
1 parent 43b262b commit 5d247fd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,17 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: install-deps
1414
uses: awalsh128/cache-apt-pkgs-action@latest
1515
with:
16-
packages: binutils cmake doxygen g++ libcppunit-dev libgnutls28-dev libgsasl7-dev libgtk-3-dev libssl-dev make pkg-config
16+
packages: binutils cmake doxygen g++ libcppunit-dev libgnutls28-dev libgsasl-dev libgtk-3-dev libssl-dev make pkg-config
1717
version: 1.2
1818
- name: clone-vmime
1919
uses: actions/checkout@v3
2020
- name: buildall
2121
run: |
22-
set -x
23-
lscpu -b --online --parse | grep -v '^#' | wc -l >/tmp/ncpus
24-
cmake . -DVMIME_SENDMAIL_PATH:STRING="/usr/sbin/sendmail" -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON -DVMIME_BUILD_TESTS=ON -DVMIME_BUILD_SAMPLES=ON && make "-j$(cat /tmp/ncpus)" && sudo make install
22+
set -ex
23+
cmake . -DVMIME_SENDMAIL_PATH:STRING="/usr/sbin/sendmail" -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON -DVMIME_BUILD_TESTS=ON -DVMIME_BUILD_SAMPLES=ON && make "-j$(nproc)" && sudo make install
2524
make test

0 commit comments

Comments
 (0)