Skip to content

Commit a0f1242

Browse files
committed
Run tests on hardenedBSD
1 parent 1b79761 commit a0f1242

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.bundle/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
BUNDLE_PATH: ".gems"

.github/workflows/main.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
pull_request:
99

1010
jobs:
11-
build:
11+
linux:
1212
runs-on: ubuntu-latest
1313
name: Ruby ${{ matrix.ruby-version }}
1414
strategy:
@@ -22,5 +22,19 @@ jobs:
2222
with:
2323
ruby-version: ${{ matrix.ruby-version }}
2424
bundler-cache: true
25-
- name: Run the default task
25+
- name: Run tests (ubuntu)
2626
run: bundle exec rake
27+
28+
hardenedbsd:
29+
runs-on: ubuntu-latest
30+
name: hardenedBSD
31+
steps:
32+
- uses: actions/checkout@v4
33+
- name: Run tests (hardenedBSD)
34+
uses: 0x1eef/hardenedbsd-vm@v1
35+
with:
36+
release: '16-CURRENT'
37+
run: |
38+
mdo -u root pkg-static install -y rubygem-bundler
39+
bundle install
40+
bundle exec rake

0 commit comments

Comments
 (0)