From 6426b62c5cef640089b551cfbe9dcd3a28023bca Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Fri, 28 Jul 2023 20:41:44 -0700 Subject: [PATCH 1/5] windows line endings for config.h.in --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index f93e0b6a..1710b5e8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,3 +5,4 @@ .gitattributes export-ignore .gitignore export-ignore INSTALL_WIN.txt eol=crlf +*.in eol=lf From d5e99562eed475247c5ce6e748d54698b0f4dd35 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Fri, 28 Jul 2023 20:47:47 -0700 Subject: [PATCH 2/5] install libudev --- .github/workflows/linux.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 11c781e9..13f544d0 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -13,5 +13,7 @@ jobs: - uses: goto-bus-stop/setup-zig@v2 with: version: master + - name: install libudev + run: apt install -y libudev-dev - name: build run: zig build From 33c305d35d9c79f0c43d26355597024a375b92b5 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Fri, 28 Jul 2023 20:49:48 -0700 Subject: [PATCH 3/5] try sudo --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 13f544d0..9c71d55f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -14,6 +14,6 @@ jobs: with: version: master - name: install libudev - run: apt install -y libudev-dev + run: sudo apt install -y libudev-dev - name: build run: zig build From 9bcbd97d8d942ab896f4818f10a3bb8847f51d56 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Fri, 28 Jul 2023 20:52:18 -0700 Subject: [PATCH 4/5] try to deduplicate actions --- .github/workflows/linux.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 9c71d55f..512f4ed9 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,5 +1,8 @@ name: linux -on: [push, pull_request] +on: + push: + pull_request: + branches: [ master ] jobs: build: From 94604602cacfd77eeac963edc6c8cc14912b63b5 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Fri, 28 Jul 2023 20:53:34 -0700 Subject: [PATCH 5/5] more deduplication --- .github/workflows/macos.yml | 5 ++++- .github/workflows/windows.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 06a5d6ee..f8d293b5 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,5 +1,8 @@ name: macos -on: [push, pull_request] +on: + push: + pull_request: + branches: [ master ] jobs: build: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 82a54aa2..7b3784f1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,5 +1,8 @@ name: windows -on: [push, pull_request] +on: + push: + pull_request: + branches: [ master ] jobs: build: