Skip to content

Commit 173f864

Browse files
committed
Separated out a possible improvement,
removing an install target new file: freebsd_cmake.yml Removing duplicate pkg install targets. modified: test.yml
1 parent 84db2e0 commit 173f864

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ci_mac_meson
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
freebsd_cmake:
8+
runs-on: macos-12
9+
name: FreeBSD
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: FreeBSD VM
13+
uses: vmactions/freebsd-vm@v0
14+
with:
15+
usesh: true
16+
sync: rsync
17+
copyback: false
18+
prepare: pkg install -y python3 bash cmake ninja pkgconf gmake binutils lzlib
19+
run: |
20+
mkdir builddir && cd builddir
21+
cmake -G Ninja -DBUILD_DWARFEXAMPLE=ON ../CMakeLists.txt
22+
ninja
23+
ninja test
24+

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
usesh: true
8484
sync: rsync
8585
copyback: false
86-
prepare: pkg install -y python3 bash cmake ninja libtool pkgconf python3 gmake binutils lzlib
86+
prepare: pkg install -y python3 bash cmake ninja libtool pkgconf gmake binutils lzlib
8787
run: |
8888
mkdir builddir && cd builddir
8989
cmake -G Ninja -DBUILD_DWARFEXAMPLE=ON ../CMakeLists.txt
@@ -101,7 +101,7 @@ jobs:
101101
usesh: true
102102
sync: rsync
103103
copyback: false
104-
prepare: pkg install -y python3 bash meson ninja pkgconf python3 gmake binutils lzlib
104+
prepare: pkg install -y python3 bash meson ninja pkgconf gmake binutils lzlib
105105
run: |
106106
mkdir build && cd build
107107
meson . .. -Ddwarfexample=true

0 commit comments

Comments
 (0)