Skip to content

Commit dc5f83e

Browse files
committed
Port distribution build
1 parent d634a3a commit dc5f83e

3 files changed

Lines changed: 11 additions & 14 deletions

File tree

.github/workflows/basic.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ jobs:
9090
os: ubuntu-latest
9191
configure_args: --disable-longlong
9292
make_args: tdd
93+
- name: Distribution
94+
os: ubuntu-latest
95+
make_args: dist dist-zip VERSION=latest
9396
- name: Install
9497
os: ubuntu-latest
9598
make_args: DESTDIR=install_autotools install
@@ -115,6 +118,14 @@ jobs:
115118
./configure ${{ matrix.configure_args }}
116119
- name: Build and test
117120
run: make ${{ matrix.make_args }}
121+
- name: Save Distributions
122+
uses: actions/upload-artifact@v3
123+
with:
124+
name: "Distribution"
125+
path: |
126+
cpputest-latest.tar.gz
127+
cpputest-latest.zip
128+
if: ${{ matrix.name == 'Distribution' }}
118129

119130
cmake:
120131
strategy:

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
# Docker images. Need to be cleared at times
3636
- env: BUILD=docker_ubuntu_autotools
3737
- env: BUILD=docker_ubuntu_dos
38-
- env: BUILD=autotools_dist
3938

4039
- arch: ppc64le
4140
compiler: gcc

scripts/travis_ci_build.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,6 @@ if [ "x$BUILD" = "xdocker_ubuntu_dos" ]; then
5252
docker start -i cpputest_dos
5353
fi
5454

55-
if [ "x$BUILD" = "xautotools_dist" ]; then
56-
autoreconf -i ..
57-
../configure
58-
59-
if [ "x$TRAVIS_OS_NAME" = "xosx" ]; then
60-
COPYFILE_DISABLE=1 make dist VERSION=latest
61-
COPYFILE_DISABLE=1 make dist-zip VERSION=latest
62-
else
63-
make dist VERSION=latest
64-
make dist-zip VERSION=latest
65-
fi
66-
fi
67-
6855
if [ "x$BUILD" = "xautotools_install_and_test_examples" ]; then
6956
autoreconf -i ..
7057
../configure

0 commit comments

Comments
 (0)