Skip to content

Commit

Permalink
CI for OpenBSD 7.5 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
knightjoel authored Apr 14, 2024
1 parent e43b084 commit 2691942
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches-ignore:
- main
paths:
- '.github/workflows/*'
- 'ports/**'

env:
Expand All @@ -19,6 +20,14 @@ jobs:
strategy:
matrix:
os:
- name: 7.5-amd64
arch: x86-64
version: "7.5"
host: ubuntu-latest
- name: 7.5-arm64
arch: arm64
version: "7.5"
host: ubuntu-latest
- name: 7.4-amd64
arch: x86-64
version: "7.4"
Expand All @@ -36,7 +45,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build
uses: cross-platform-actions/action@v0.23.0
uses: cross-platform-actions/action@v0.24.0
with:
operating_system: openbsd
architecture: ${{ matrix.os.arch }}
Expand Down Expand Up @@ -96,8 +105,8 @@ jobs:
- name: Check for modified files
id: git-check
run: |
git status --porcelain
echo "modified=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)" >> $GITHUB_OUTPUT
git status -s -uno
echo "modified=$(if [ -n "$(git status -s -uno)" ]; then echo "true"; else echo "false"; fi)" >> $GITHUB_OUTPUT
- name: Push changes back to the branch
# It's important changes are only pushed back to the branch once within
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This repo contains code which will allow you to build and install the
For more information, read the blog post
[AWS CLIv2 on OpenBSD](https://www.packetmischief.ca/2023/08/16/awscliv2-on-openbsd/).

The ports in this repo are tested on OpenBSD 7.4 using the amd64 and arm64
The ports in this repo are tested on OpenBSD 7.4 and 7.5 using the amd64 and arm64
architectures.

## Installation
Expand Down

0 comments on commit 2691942

Please sign in to comment.