Skip to content

Commit

Permalink
full example
Browse files Browse the repository at this point in the history
  • Loading branch information
nmisch committed Apr 29, 2024
1 parent 310d44b commit aecf5c2
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/newbsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: BSDs v2

on: [push]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- name: freebsd
architecture: x86-64
version: '14.0'

- name: openbsd
architecture: x86-64
version: '7.5'

- name: openbsd
architecture: arm64
version: '7.5'

- name: netbsd
architecture: x86-64
version: '10.0'

- name: netbsd
architecture: arm64
version: '10.0
steps:
- uses: actions/checkout@v4
- name: Test on ${{ matrix.os.name }}
uses: cross-platform-actions/[email protected]
env:
MY_ENV1: MY_ENV1
MY_ENV2: MY_ENV2
with:
environment_variables: MY_ENV1 MY_ENV2
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: ${{ matrix.os.version }}
shell: bash
memory: 5G
cpu_count: 4
run: |
uname -a
echo $SHELL
pwd
ls -lah
whoami
env | sort

0 comments on commit aecf5c2

Please sign in to comment.