From 5a11fa470424abdaf32f14b1cec4b4f7761ddbb4 Mon Sep 17 00:00:00 2001 From: David Given Date: Thu, 25 Aug 2022 23:38:17 +0200 Subject: [PATCH 1/3] Try to use coreutils truncate rather than Homebrew truncate, which has gone. --- .github/workflows/ccpp.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 8110a3cf..3cbdfa28 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -17,7 +17,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: brew - run: brew install sqlite pkg-config libusb protobuf truncate wxwidgets fmt make + run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils + - name: link + run: | + ln -s /usr/local/opt/coreutils/libexec/gnubin/gtruncate /usr/local/bin/truncate - name: make run: gmake From 0154ed46e843007816c6aae2eded156314e4ba16 Mon Sep 17 00:00:00 2001 From: David Given Date: Thu, 25 Aug 2022 23:40:24 +0200 Subject: [PATCH 2/3] Looks like truncate is already there? --- .github/workflows/ccpp.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 3cbdfa28..61c3af9e 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -17,10 +17,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: brew - run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils - - name: link - run: | - ln -s /usr/local/opt/coreutils/libexec/gnubin/gtruncate /usr/local/bin/truncate + run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make - name: make run: gmake From 84d7b1d4ba8996deceacc3de759d49364918613e Mon Sep 17 00:00:00 2001 From: David Given Date: Thu, 25 Aug 2022 23:56:49 +0200 Subject: [PATCH 3/3] Or maybe it is. --- .github/workflows/ccpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 61c3af9e..d2141b05 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: brew - run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make + run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils - name: make run: gmake