From a94339c407e12d5ce4c532730a6a076e9ac53152 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 11:49:48 -0700 Subject: [PATCH 01/19] Update meson.yml --- .github/workflows/meson.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 98df7a85a..fd5e4d810 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -1,7 +1,6 @@ -name: Meson Build -uses: BSFishy/meson-build@v1.0.3 +name: Meson -run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +run-name: ${{ github.actor }} is testing out replacing Travis with Github Actions! on: [push] jobs: From 5827e8fff27203424b0ff041dcbac46d4b4f34d3 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 11:51:37 -0700 Subject: [PATCH 02/19] Update meson.yml --- .github/workflows/meson.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index fd5e4d810..822e2048a 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -1,6 +1,6 @@ name: Meson -run-name: ${{ github.actor }} is testing out replacing Travis with Github Actions! +run-name: ${{ github.actor }} is testing out replacing Travis with Github Actions on: [push] jobs: From e78510b7b42fd9ee1bc7b4f35dab1e16f82d28bf Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 11:52:59 -0700 Subject: [PATCH 03/19] Update meson.yml --- .github/workflows/meson.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 822e2048a..10dec79bb 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -13,9 +13,12 @@ jobs: - uses: BSFishy/meson-build@v1.0.3 with: action: build + - uses: BSFishy/meson-build@v1.0.3 + with: action: test + - uses: BSFishy/meson-build@v1.0.3 + with: action: tidy - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code From 65a37d19893cba6ff98a4da252cf1c579804e28e Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 11:59:37 -0700 Subject: [PATCH 04/19] Update meson.yml --- .github/workflows/meson.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 10dec79bb..7599566da 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -9,7 +9,7 @@ jobs: steps: - run: echo " The job was automatically triggered by a ${{ github.event_name }} event." - uses: actions/checkout@v4 - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v5 - uses: BSFishy/meson-build@v1.0.3 with: action: build From 7bcda7187819e04efebb0732ffc175aa5f8d88aa Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 12:01:15 -0700 Subject: [PATCH 05/19] Update meson.yml --- .github/workflows/meson.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 7599566da..28815fded 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -4,7 +4,7 @@ run-name: ${{ github.actor }} is testing out replacing Travis with Github Action on: [push] jobs: - Explore-GitHub-Actions: + Validate-Pull-Request: runs-on: ubuntu-latest steps: - run: echo " The job was automatically triggered by a ${{ github.event_name }} event." @@ -19,13 +19,3 @@ jobs: - uses: BSFishy/meson-build@v1.0.3 with: action: tidy - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ github.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." From 594f0449495eca0d16e7b98123c87dd36221d0d5 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 14:52:14 -0700 Subject: [PATCH 06/19] Update meson.yml --- .github/workflows/meson.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 28815fded..fce8cbecd 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -18,4 +18,4 @@ jobs: action: test - uses: BSFishy/meson-build@v1.0.3 with: - action: tidy + action: clang-format From 35fe959c649c4c0854483b753acc00467162829f Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 14:58:00 -0700 Subject: [PATCH 07/19] Update meson.yml --- .github/workflows/meson.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index fce8cbecd..c2e5c39af 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -4,18 +4,21 @@ run-name: ${{ github.actor }} is testing out replacing Travis with Github Action on: [push] jobs: - Validate-Pull-Request: + publish: runs-on: ubuntu-latest steps: - run: echo " The job was automatically triggered by a ${{ github.event_name }} event." - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + - uses: BSFishy/meson-build@v1.0.3 with: action: build + - uses: BSFishy/meson-build@v1.0.3 with: action: test - - uses: BSFishy/meson-build@v1.0.3 - with: - action: clang-format + + - uses: seanmiddleditch/gha-setup-ninja@master + - run: ninja -C build clang-format + From a4f9c7b307247523f4c6e4292304cf44670a574e Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 15:19:54 -0700 Subject: [PATCH 08/19] Update meson.yml Switch to clang-format-check --- .github/workflows/meson.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index c2e5c39af..235986a20 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -20,5 +20,5 @@ jobs: action: test - uses: seanmiddleditch/gha-setup-ninja@master - - run: ninja -C build clang-format + - run: ninja -C build clang-format-check From 59779bacc1b7eb15988c97f3118564a9b9d2ec0f Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 15:26:20 -0700 Subject: [PATCH 09/19] Update meson.yml --- .github/workflows/meson.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 235986a20..00552714f 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -1,24 +1,28 @@ -name: Meson +name: meson -run-name: ${{ github.actor }} is testing out replacing Travis with Github Actions +run-name: ${{ github.ref }} on: [push] jobs: publish: runs-on: ubuntu-latest steps: - - run: echo " The job was automatically triggered by a ${{ github.event_name }} event." - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - name: checkout repository + uses: actions/checkout@v4 + + - name: setup python + uses: actions/setup-python@v5 - - uses: BSFishy/meson-build@v1.0.3 + - name: meson build + uses: BSFishy/meson-build@v1.0.3 with: action: build - - uses: BSFishy/meson-build@v1.0.3 + - name: meson test + uses: BSFishy/meson-build@v1.0.3 with: action: test - - uses: seanmiddleditch/gha-setup-ninja@master - - run: ninja -C build clang-format-check + - name: clang-format + run: ninja -C build clang-format-check From dd31925b67a46d41c1715647fb1da61192c5dc18 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 15:32:24 -0700 Subject: [PATCH 10/19] Update meson.yml --- .github/workflows/meson.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 00552714f..0f71a9008 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -16,11 +16,13 @@ jobs: - name: meson build uses: BSFishy/meson-build@v1.0.3 with: + meson-version: 1.5.1 action: build - name: meson test uses: BSFishy/meson-build@v1.0.3 with: + meson-version: 1.5.1 action: test - name: clang-format From d7b0c9f649c05cde87bb90d716c6aa985ef1e86a Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 15:49:21 -0700 Subject: [PATCH 11/19] Update meson.yml --- .github/workflows/meson.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 0f71a9008..584b824ab 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -1,5 +1,4 @@ name: meson - run-name: ${{ github.ref }} on: [push] From b2ba44c009d9a467635c99fbebf15d8833566eaf Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 15:52:35 -0700 Subject: [PATCH 12/19] Update meson.yml --- .github/workflows/meson.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 584b824ab..c2d21b648 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -1,5 +1,5 @@ name: meson -run-name: ${{ github.ref }} +run-name: update pushed to ${{ github.ref }} on: [push] jobs: From 726c8968823a722ee58e6028daddf7e4a486f123 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 16:33:38 -0700 Subject: [PATCH 13/19] Update meson.yml Add multilple OSes --- .github/workflows/meson.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index c2d21b648..b1ca90af9 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -4,7 +4,23 @@ on: [push] jobs: publish: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + + strategy: + # Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable. + fail-fast: false + + # Set up a matrix to run the following 3 configurations: + # 1. + # 2. + # 3. + # + # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + #build_type: [Release] + #c_compiler: [gcc, clang, cl] + steps: - name: checkout repository uses: actions/checkout@v4 From 0397a66c232b4dc8f8bcf3d437d49f10496308c4 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 16:47:19 -0700 Subject: [PATCH 14/19] Update meson.yml Add ninja version --- .github/workflows/meson.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index b1ca90af9..5290a1af1 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -32,12 +32,14 @@ jobs: uses: BSFishy/meson-build@v1.0.3 with: meson-version: 1.5.1 + ninja-version: 1.12.1 action: build - name: meson test uses: BSFishy/meson-build@v1.0.3 with: meson-version: 1.5.1 + ninja-version: 1.12.1 action: test - name: clang-format From ce1dd83dfca371724f49ec49b1172f53ca420ae5 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 16:48:22 -0700 Subject: [PATCH 15/19] Update meson.yml --- .github/workflows/meson.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 5290a1af1..06f263a56 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -32,14 +32,14 @@ jobs: uses: BSFishy/meson-build@v1.0.3 with: meson-version: 1.5.1 - ninja-version: 1.12.1 + ninja-version: 1.11.1.1 action: build - name: meson test uses: BSFishy/meson-build@v1.0.3 with: meson-version: 1.5.1 - ninja-version: 1.12.1 + ninja-version: 1.11.1.1 action: test - name: clang-format From 951a323f8db8de0a3a1286b0b23b86e5ad0e5048 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 16:52:23 -0700 Subject: [PATCH 16/19] Update meson.yml --- .github/workflows/meson.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 06f263a56..d66fa6816 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -41,7 +41,3 @@ jobs: meson-version: 1.5.1 ninja-version: 1.11.1.1 action: test - - - name: clang-format - run: ninja -C build clang-format-check - From 5d42a8e77fd4b1a89bda947cb4cb4c3256059754 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 16:53:28 -0700 Subject: [PATCH 17/19] Update meson.yml --- .github/workflows/meson.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index d66fa6816..24274f21d 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -14,8 +14,6 @@ jobs: # 1. # 2. # 3. - # - # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. matrix: os: [ubuntu-latest, windows-latest, macos-latest] #build_type: [Release] From a0cd679e6f39e8da928f62c81f9514950e8088d7 Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 16:56:58 -0700 Subject: [PATCH 18/19] Update meson.yml --- .github/workflows/meson.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 24274f21d..013322236 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -7,17 +7,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: - # Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable. fail-fast: false - - # Set up a matrix to run the following 3 configurations: - # 1. - # 2. - # 3. matrix: os: [ubuntu-latest, windows-latest, macos-latest] - #build_type: [Release] - #c_compiler: [gcc, clang, cl] steps: - name: checkout repository From bccae18abd5aabf093a8b7cac001237bd2766c2f Mon Sep 17 00:00:00 2001 From: Jordan Bayles Date: Mon, 9 Sep 2024 17:09:13 -0700 Subject: [PATCH 19/19] Update meson.yml --- .github/workflows/meson.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 013322236..fbe8138dd 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -1,4 +1,4 @@ -name: meson +name: meson build and test run-name: update pushed to ${{ github.ref }} on: [push]