From f25313a37ad108a90c8cd44da36562d439df8597 Mon Sep 17 00:00:00 2001 From: Joe George Date: Fri, 6 Feb 2026 11:57:18 -0500 Subject: [PATCH 1/6] Add CI workflow --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..097caf6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: ci + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + ci: + runs-on: ubuntu-24.04 + + steps: + - name: Checkout icerpc/slicec + uses: actions/checkout@v3 + with: + repository: icerpc/slicec + path: slicec + + - name: Checkout this repository + uses: actions/checkout@v3 + with: + path: icerpc-slice + + - name: Compile Slice files + working-directory: slicec + run: cargo run --release --bin slicec -- $(find ../icerpc-slice -name "*.slice") > /dev/null From 95fb49f9880941281992fcdc2f6d1f2918d57cb7 Mon Sep 17 00:00:00 2001 From: Joe George Date: Fri, 6 Feb 2026 12:12:04 -0500 Subject: [PATCH 2/6] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 097caf6..5973974 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,4 +24,5 @@ jobs: - name: Compile Slice files working-directory: slicec - run: cargo run --release --bin slicec -- $(find ../icerpc-slice -name "*.slice") > /dev/null + run: | + find ../icerpc-slice -name '*.slice' -print0 | xargs -0 -r cargo run --release --bin slicec -- > /dev/null From edcaffaaaf4bdb3280a0af4f5e38ce5ab42a7372 Mon Sep 17 00:00:00 2001 From: Joe George Date: Fri, 6 Feb 2026 12:12:46 -0500 Subject: [PATCH 3/6] v4 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5973974..2311cba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,13 +12,13 @@ jobs: steps: - name: Checkout icerpc/slicec - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: icerpc/slicec path: slicec - name: Checkout this repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: icerpc-slice From 1817cadae89896b32e0b40924659491a9c601f19 Mon Sep 17 00:00:00 2001 From: Joe George Date: Fri, 6 Feb 2026 12:13:11 -0500 Subject: [PATCH 4/6] latest --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2311cba..3a2c0ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: jobs: ci: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: - name: Checkout icerpc/slicec From e2664500ed6408d280c56ec360f79f8a607010a6 Mon Sep 17 00:00:00 2001 From: Joe George Date: Fri, 6 Feb 2026 12:18:21 -0500 Subject: [PATCH 5/6] fix name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a2c0ec..5e44f52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: ci +name: CI on: push: From a5ebaf7597801fd15bddcc9bf37fb42dab5bbbbb Mon Sep 17 00:00:00 2001 From: Joe George Date: Fri, 6 Feb 2026 14:20:34 -0500 Subject: [PATCH 6/6] workflow_dispatch --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e44f52..0f3bdab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,7 @@ name: CI on: + workflow_dispatch: push: branches: [main] pull_request: