Skip to content

Commit

Permalink
.github/workflows/c.yml: use actions/checkout@v4, fix startsWith()
Browse files Browse the repository at this point in the history
  • Loading branch information
robohack committed Mar 23, 2024
1 parent e6b27d1 commit 1a7777c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,31 +76,31 @@ jobs:
cc: clang
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: whoami
run: |
uname -a
${{ matrix.make }} -V MAKE_VERSION
${{ matrix.cc }} --version
- name: macos_id
if: startsWith(matrix.os, 'macos')
if: ${{ startsWith(matrix.os, 'macos') }}
run: |
sw_vers
- name: ubuntu_dependencies
if: startsWith(matrix.os, 'ubuntu')
if: ${{ startsWith(matrix.os, 'ubuntu') }}
run: |
sudo apt-get update
sudo apt-get install bmake cxref
- name: macos_dependencies
if: startsWith(matrix.os, 'macos')
if: ${{ startsWith(matrix.os, 'macos') }}
run: |
# n.b.: cxref is in macports.... which apparently can be installed like this:
# wget https://github.com/macports/macports-base/releases/download/v2.9.1/MacPorts-2.9.1-14-Sonoma.pkg
# sudo installer -pkg ./MacPorts-2.9.1-14-Sonoma.pkg -target /
brew update
brew install bmake
- name: netbsd_dependencies
if: startsWith(matrix.os, 'netbsd')
if: ${{ startsWith(matrix.os, 'netbsd') }}
run: |
pkgin install cxref
- name: builddir
Expand Down

0 comments on commit 1a7777c

Please sign in to comment.