From 3a920b4e3c056e4f147141290ad0f1f89c835f75 Mon Sep 17 00:00:00 2001 From: "Jakob P. Liljenberg" Date: Sun, 6 Nov 2022 03:39:53 +0100 Subject: [PATCH] Create continuous-build-freebsd.yml --- .../workflows/continuous-build-freebsd.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/continuous-build-freebsd.yml diff --git a/.github/workflows/continuous-build-freebsd.yml b/.github/workflows/continuous-build-freebsd.yml new file mode 100644 index 0000000..771161c --- /dev/null +++ b/.github/workflows/continuous-build-freebsd.yml @@ -0,0 +1,45 @@ +name: Continuous Build FreeBSD + +on: + workflow_dispatch: + push: + branches: + - main + tags-ignore: + - '*.*' + paths: + - 'src/**' + - '!src/linux/**' + - '!src/osx/**' + - 'include/**' + - 'Makefile' + - '.github/workflows/continuous-build-freebsd.yml' + pull_request: + branches: + - main + paths: + - 'src/**' + - '!src/linux/**' + - '!src/osx/**' + - 'include/**' + - 'Makefile' + - '.github/workflows/continuous-build-freebsd.yml' + +jobs: + build-freebsd: + runs-on: macos-12 + steps: + - uses: actions/checkout@v3 + - name: Compile + uses: vmactions/freebsd-vm@v0 + with: + release: 13.1 + prepare: | + pkg install -y gmake gcc11 coreutils git + run: | + gmake + - uses: actions/upload-artifact@v3 + with: + name: btop-x86_64-FreeBSD-13.1 + path: 'bin/btop' +