Skip to content

Commit 87ff07e

Browse files
committed
Add OpenBSD 7.7
1 parent 9242b9e commit 87ff07e

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

.github/workflows/tests.yaml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,17 @@ jobs:
4141
- deps
4242
strategy:
4343
matrix:
44-
version: [ 7.3, 7.4, 7.5, 7.6 ]
44+
release:
45+
- version: 7.7
46+
mirror: "https://cdn.openbsd.org/pub/OpenBSD"
47+
- version: 7.6
48+
mirror: "https://cdn.openbsd.org/pub/OpenBSD"
49+
- version: 7.5
50+
mirror: "https://ftp.lysator.liu.se/pub/OpenBSD"
51+
- version: 7.4
52+
mirror: "https://ftp.lysator.liu.se/pub/OpenBSD"
53+
- version: 7.3
54+
mirror: "https://ftp.lysator.liu.se/pub/OpenBSD"
4555
arch: [ amd64, i386 ]
4656
runs-on: ubuntu-latest
4757
container:
@@ -64,21 +74,23 @@ jobs:
6474
uses: actions/cache@v4
6575
with:
6676
path: ${{ env.OPENBSD_CACHE }}
67-
key: openbsd-${{ matrix.version }}-${{ matrix.arch }}-${{ github.job }}
77+
key: openbsd-${{ matrix.release.version }}-${{ matrix.arch }}-${{ github.job }}
6878
restore-keys: |
69-
openbsd-${{ matrix.version }}-${{ matrix.arch }}-${{ github.job }}
70-
openbsd-${{ matrix.version }}-${{ matrix.arch }}
71-
openbsd-${{ matrix.version }}
79+
openbsd-${{ matrix.release.version }}-${{ matrix.arch }}-${{ github.job }}
80+
openbsd-${{ matrix.release.version }}-${{ matrix.arch }}
81+
openbsd-${{ matrix.release.version }}
7282
openbsd
7383
7484
- name: Run test
75-
run: tests/base -v ${{ matrix.version }} -a ${{ matrix.arch }}
85+
run: tests/base -v ${{ matrix.release.version }} -a ${{ matrix.arch }}
86+
env:
87+
OPENBSD_MIRROR: ${{ matrix.release.mirror }}
7688

7789
- name: Keep artifacts
7890
uses: actions/upload-artifact@v4
7991
if: always()
8092
with:
81-
name: ${{ github.job }}-${{ matrix.version }}-${{ matrix.arch }}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}
93+
name: ${{ github.job }}-${{ matrix.release.version }}-${{ matrix.arch }}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}
8294
retention-days: 3
8395
path: |
8496
/${{github.job}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}/**/*
@@ -89,7 +101,7 @@ jobs:
89101
- base
90102
strategy:
91103
matrix:
92-
version: [ 7.6 ]
104+
version: [ 7.7 ]
93105
arch: [ amd64 ]
94106
runs-on: ubuntu-latest
95107
env:

openbsd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@ class Version:
7878
return cls.versions.get(version)
7979

8080
DEFAULT_VERSION = Version.add(
81+
version = "7.7",
82+
pub = lines(
83+
"untrusted comment: openbsd 7.7 base public key",
84+
"RWSbCCUoGpcxVRmNb/XFYBbthxWMK7G6fNbJhb993Ohuh29WFaT9vhe2",
85+
),
86+
archs = {
87+
"amd64": "329f21a785d6f3ad2572ab8278cfd07cda39a5e4848f1c737caf0dc003470b3b",
88+
"i386": "19de49712be27297e8112c464a3de935ff32e40089711c29eef30bc20e3c530c",
89+
},
90+
)
91+
92+
Version.add(
8193
version = "7.6",
8294
pub = lines(
8395
"untrusted comment: openbsd 7.6 base public key",

0 commit comments

Comments
 (0)