sudo apt-get -f install -y &&
cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
"
+
+mkdir -p ${CURDIR}/result
+cp -av ${CURDIR}/build/*.deb ${CURDIR}/result
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
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
sudo apt-get -f install -y &&
cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
"
+
+mkdir -p ${CURDIR}/result
+cp -av ${CURDIR}/build/*.deb ${CURDIR}/result
- 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
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
- 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
- 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:
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