Skip to content

Commit

Permalink
.github/workflows: Updated
Browse files Browse the repository at this point in the history
  - Added recent Ubuntu releases
  - Updated actions supporting node16
  - Updated FreeBSD actions release

Signed-off-by: Teerapatr K. <[email protected]>
  • Loading branch information
teerapatrk committed Aug 8, 2024
1 parent e60f74f commit 21abb92
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
matrix:
os:
- ubuntu-20.04
# # Disable jammy
# - ubuntu-22.04
- ubuntu-22.04
- ubuntu-24.04
cc:
- gcc
# # Disable Clang (enable required: matrix.include.cc: clang)
Expand All @@ -48,7 +48,7 @@ jobs:
CFLAGS: ${{ matrix.CFLAGS }}
steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Fetch update package information
run: sudo apt-get update --assume-yes
Expand All @@ -69,7 +69,7 @@ jobs:
run: make package-deb

- name: Upload package(s)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Packages
path: |
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
---
name: Test Schaufel

# Run this workflow every time a new commit pushed to your repository
on:
push:
#branches: '**'
#branches-ignore: 'main'

pull_request:
#branches: '**'
#branches-ignore: 'main'
Expand All @@ -25,12 +22,14 @@ jobs:
strategy:
matrix:
# also test 'latest', eventually this will be upgraded to a newer version and might fail early
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest]
#os: [ubuntu-latest]
os:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Versions
run: echo "${{ matrix.os }}"
Expand Down Expand Up @@ -74,14 +73,14 @@ jobs:
run: diff -q src/main.c main.c
pr-test-freebsd:
name: Test Schaufel on FreeBSD
runs-on: macos-12
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run FreeBSD test
id: test
uses: vmactions/freebsd-vm@v0
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
Expand Down

0 comments on commit 21abb92

Please sign in to comment.