summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authoritchyny <itchyny@cybozu.co.jp>2023-07-03 08:46:35 +0900
committerGitHub <noreply@github.com>2023-07-03 08:46:35 +0900
commit5ae04c0f528c371f8acd1ddd1f9d7b2f45b3b58e (patch)
tree4b3073a8f49f1994dde7710256590a9be0dd53a5 /.github
parent44a0f3448aac8e4f3a5d34ba9db6f325d9c2a8e0 (diff)
Strip debug information from executables (fix #1221) (#2647)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml22
1 files changed, 13 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b682b11b..5cc5363e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,6 +6,7 @@ on:
tags:
- "v*"
pull_request:
+
jobs:
linux:
strategy:
@@ -29,7 +30,7 @@ jobs:
runs-on: ${{ matrix.image }}
env:
CC: ${{ matrix.compiler }}
- SUFFIX: linux-${{ matrix.image}}-${{ matrix.compiler }}
+ SUFFIX: linux-${{ matrix.image }}-${{ matrix.compiler }}
steps:
- name: Clone repository
uses: actions/checkout@v3
@@ -56,6 +57,7 @@ jobs:
${{ matrix.configure_flag }} \
YACC="$(which bison) -y"
make
+ strip jq
- name: Test
run: |
make check
@@ -74,8 +76,8 @@ jobs:
name: jq-${{ env.SUFFIX }}
if-no-files-found: error
retention-days: 7
- path: |
- jq
+ path: jq
+
macos:
strategy:
fail-fast: false
@@ -85,7 +87,7 @@ jobs:
runs-on: ${{ matrix.image }}
env:
CC: ${{ matrix.compiler }}
- SUFFIX: macos-${{ matrix.image}}-${{ matrix.compiler }}
+ SUFFIX: macos-${{ matrix.image }}-${{ matrix.compiler }}
steps:
- name: Clone repository
uses: actions/checkout@v3
@@ -113,6 +115,7 @@ jobs:
--enable-all-static \
YACC="$(brew --prefix)/opt/bison/bin/bison -y"
make
+ strip jq
- name: Test
run: |
make check
@@ -131,8 +134,8 @@ jobs:
name: jq-${{ env.SUFFIX }}
if-no-files-found: error
retention-days: 7
- path: |
- jq
+ path: jq
+
windows:
strategy:
fail-fast: false
@@ -142,7 +145,7 @@ jobs:
runs-on: ${{ matrix.image }}
env:
CC: ${{ matrix.compiler }}
- SUFFIX: windows-${{ matrix.image}}-${{ matrix.compiler }}
+ SUFFIX: windows-${{ matrix.image }}-${{ matrix.compiler }}
steps:
- name: Clone repository
uses: actions/checkout@v3
@@ -174,6 +177,7 @@ jobs:
--enable-all-static \
YACC="$(which bison) -y"
make
+ strip jq.exe
- name: Test
shell: msys2 {0}
run: |
@@ -193,8 +197,8 @@ jobs:
name: jq-${{ env.SUFFIX }}
if-no-files-found: error
retention-days: 7
- path: |
- jq.exe
+ path: jq.exe
+
release:
runs-on: ubuntu-latest
permissions: