public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sandbox:stable-2.x commit in: .github/workflows/
@ 2023-01-06  7:15 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-01-06  7:15 UTC (permalink / raw
  To: gentoo-commits

commit:     b5651178b925f3e1cd283ccf6336a068d53d6e7d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  6 06:58:34 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  6 07:15:00 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=b5651178

CI: add Github Actions

Signed-off-by: Sam James <sam <AT> gentoo.org>
(cherry picked from commit cb63ad4fb4b8a21b269f330f2512da0a6ce7399e)

 .github/workflows/build-test-ci.yml | 58 +++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml
new file mode 100644
index 0000000..7ad056b
--- /dev/null
+++ b/.github/workflows/build-test-ci.yml
@@ -0,0 +1,58 @@
+# GitHub actions workflow.
+# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
+
+name: Build+Test CI
+
+#on:
+#  push:
+#    branches: [master, gh-actions]
+#    tags: [v*]
+#  pull_request:
+#    types: [created, opened, edited, push]
+
+on: [pull_request, push]
+
+jobs:
+  make:
+    strategy:
+      matrix:
+        os: [ubuntu-latest]
+        cc: [gcc, clang]
+        sanitize: [none] # [none, asan, ubsan]
+      fail-fast: false
+    runs-on: ${{ matrix.os }}
+    env:
+      CC: ${{ matrix.cc }}
+      SANITIZER: ${{ matrix.sanitize }}
+      UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1"
+    steps:
+    - name: Install dependencies
+      run: |
+        sudo apt-get update -qq
+        sudo apt-get install build-essential gcc clang automake autoconf autoconf-archive libtool pax-utils -qy
+
+        case "$SANITIZER" in
+          none)
+             ;;
+          asan)
+             echo CFLAGS="-O2 -ggdb3 -fsanitize=address" >> $GITHUB_ENV
+             echo CXXFLAGS="-O2 -ggdb3 -fsanitize=address" >> $GITHUB_ENV
+             echo LDFLAGS="-fsanitize=address" >> $GITHUB_ENV
+             ;;
+          ubsan)
+             echo CFLAGS="-O2 -ggdb3 -fsanitize=undefined" >> $GITHUB_ENV
+             echo CXXFLAGS="-O2 -ggdb3 -fsanitize=undefined" >> $GITHUB_ENV
+             echo LDFLAGS="-fsanitize=undefined" >> $GITHUB_ENV
+             ;;
+        esac
+
+    - uses: actions/checkout@v3
+      name: Checkout
+
+    - name: Build
+      run: |
+        ./autogen.sh
+        ./configure || cat config.log
+        make V=1
+        make V=1 check
+        make V=1 distcheck


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sandbox:stable-2.x commit in: .github/workflows/
@ 2023-06-23 17:25 Mike Gilbert
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert @ 2023-06-23 17:25 UTC (permalink / raw
  To: gentoo-commits

commit:     84e3934c938a6c94c40b0d0857a333a7be247800
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 15:35:43 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 17:25:44 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=84e3934c

CI: clean up glibc job

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
(cherry picked from commit e2f8b0382aef54fd0827c61f05589b82ddfa8331)

 .github/workflows/build-test-ci.yml | 32 +++-----------------------------
 1 file changed, 3 insertions(+), 29 deletions(-)

diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml
index 4a3ef88..5c95baa 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -3,58 +3,32 @@
 
 name: Build+Test CI
 
-#on:
-#  push:
-#    branches: [master, gh-actions]
-#    tags: [v*]
-#  pull_request:
-#    types: [created, opened, edited, push]
-
 on: [pull_request, push]
 
 jobs:
   glibc:
     strategy:
       matrix:
-        os: [ubuntu-latest]
         cc: [gcc, clang]
-        sanitize: [none] # [none, asan, ubsan]
       fail-fast: false
-    runs-on: ${{ matrix.os }}
+    runs-on: ubuntu-latest
     env:
       CC: ${{ matrix.cc }}
-      SANITIZER: ${{ matrix.sanitize }}
-      UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1"
     steps:
     - name: Install dependencies
       run: |
         sudo apt-get update -qq
         sudo apt-get install build-essential gcc clang automake autoconf autoconf-archive libtool pax-utils -qy
 
-        case "$SANITIZER" in
-          none)
-             ;;
-          asan)
-             echo CFLAGS="-O2 -ggdb3 -fsanitize=address" >> $GITHUB_ENV
-             echo CXXFLAGS="-O2 -ggdb3 -fsanitize=address" >> $GITHUB_ENV
-             echo LDFLAGS="-fsanitize=address" >> $GITHUB_ENV
-             ;;
-          ubsan)
-             echo CFLAGS="-O2 -ggdb3 -fsanitize=undefined" >> $GITHUB_ENV
-             echo CXXFLAGS="-O2 -ggdb3 -fsanitize=undefined" >> $GITHUB_ENV
-             echo LDFLAGS="-fsanitize=undefined" >> $GITHUB_ENV
-             ;;
-        esac
-
     - uses: actions/checkout@v3
       name: Checkout
 
     - name: Build
       run: |
         ./autogen.sh
-        ./configure || cat config.log
+        ./configure || { cat config.log; false; }
         make V=1
-        make V=1 check
+        make V=1 check || { cat tests/testsuite.log; false; }
         make V=1 distcheck
 
   musl:


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sandbox:stable-2.x commit in: .github/workflows/
@ 2023-06-23 17:25 Mike Gilbert
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert @ 2023-06-23 17:25 UTC (permalink / raw
  To: gentoo-commits

commit:     90b9a7a12ebd1531738877e63f85c42b740e0a36
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 03:14:58 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 17:25:43 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=90b9a7a1

CI: add musl config

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
(cherry picked from commit 8fd0fb9f956c65dab850895102b21a7fef92b753)

 .github/workflows/build-test-ci.yml | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml
index 7ad056b..4a3ef88 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -13,7 +13,7 @@ name: Build+Test CI
 on: [pull_request, push]
 
 jobs:
-  make:
+  glibc:
     strategy:
       matrix:
         os: [ubuntu-latest]
@@ -56,3 +56,22 @@ jobs:
         make V=1
         make V=1 check
         make V=1 distcheck
+
+  musl:
+    runs-on: ubuntu-latest
+    container:
+      image: alpine:latest
+      options: --cap-add=SYS_PTRACE
+    steps:
+      - name: Install dependencies
+        run: apk add bash coreutils build-base automake autoconf autoconf-archive libtool pax-utils gawk sed
+
+      - name: Checkout
+        uses: actions/checkout@v3
+
+      - name: Build
+        run: |
+          ./autogen.sh
+          ./configure || { cat config.log; false; }
+          make V=1
+          make V=1 check || { cat tests/testsuite.log; false; }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-23 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-23 17:25 [gentoo-commits] proj/sandbox:stable-2.x commit in: .github/workflows/ Mike Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2023-06-23 17:25 Mike Gilbert
2023-01-06  7:15 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox