Skip to content

Commit

Permalink
Merge branch 'artifacts' of https://github.com/CendioOssman/tigervnc
Browse files Browse the repository at this point in the history
  • Loading branch information
CendioOssman committed Jul 5, 2022
2 parents 7226e19 + 1597495 commit d0dafdc
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/containers/bionic/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/
sudo apt-get -f install -y &&
cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
"

mkdir -p ${CURDIR}/result
cp -av ${CURDIR}/build/*.deb ${CURDIR}/result
4 changes: 4 additions & 0 deletions .github/containers/centos7/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ docker run --volume ${CURDIR}/rpmbuild:/home/rpm/rpmbuild --interactive --rm tig
sudo chown 0.0 ~/rpmbuild/SPECS/* &&
rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec
"

mkdir -p ${CURDIR}/result
cp -av ${CURDIR}/rpmbuild/RPMS ${CURDIR}/result
cp -av ${CURDIR}/rpmbuild/SRPMS ${CURDIR}/result
4 changes: 4 additions & 0 deletions .github/containers/centos8/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ docker run --volume ${CURDIR}/rpmbuild:/home/rpm/rpmbuild --interactive --rm tig
sudo chown 0.0 ~/rpmbuild/SPECS/* &&
rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec
"

mkdir -p ${CURDIR}/result
cp -av ${CURDIR}/rpmbuild/RPMS ${CURDIR}/result
cp -av ${CURDIR}/rpmbuild/SRPMS ${CURDIR}/result
3 changes: 3 additions & 0 deletions .github/containers/focal/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/
sudo apt-get -f install -y &&
cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
"

mkdir -p ${CURDIR}/result
cp -av ${CURDIR}/build/*.deb ${CURDIR}/result
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
- name: Install
working-directory: build
run: make tarball
- uses: actions/upload-artifact@v3
with:
name: Linux (Ubuntu)
path: build/tigervnc-*.tar.gz

build-windows:
runs-on: windows-latest
Expand All @@ -44,6 +48,10 @@ jobs:
env:
MSYS2_PATH_TYPE: inherit
run: make installer winvnc_installer
- uses: actions/upload-artifact@v3
with:
name: Windows
path: build/release/tigervnc*.exe

build-macos:
runs-on: macos-latest
Expand All @@ -60,6 +68,10 @@ jobs:
- name: Install
working-directory: build
run: make dmg
- uses: actions/upload-artifact@v3
with:
name: macOS
path: build/TigerVNC-*.dmg

build-java:
runs-on: ubuntu-latest
Expand All @@ -79,6 +91,10 @@ jobs:
- name: Build
working-directory: java/build
run: make
- uses: actions/upload-artifact@v3
with:
name: Java (${{ matrix.java }})
path: java/build/VncViewer.jar

build-packages:
strategy:
Expand All @@ -98,3 +114,7 @@ jobs:
run: docker build -t tigervnc/$DOCKER .github/containers/$DOCKER
- name: Build packages
run: .github/containers/$DOCKER/build.sh
- uses: actions/upload-artifact@v3
with:
name: Packages (${{ matrix.target }})
path: .github/containers/${{ matrix.target }}/result

0 comments on commit d0dafdc

Please sign in to comment.