Skip to content

Commit

Permalink
I feel dead
Browse files Browse the repository at this point in the history
  • Loading branch information
XyperCode committed Nov 24, 2022
1 parent ed67a03 commit 30f556e
Showing 1 changed file with 0 additions and 72 deletions.
72 changes: 0 additions & 72 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,78 +35,6 @@ jobs:
with:
name: Ultreon Browser Linux DEB Build ${{ github.run_number }}
path: build/dist/
build-linux-armv7:
# The host should always be linux
runs-on: ubuntu-18.04
name: Build on ${{ matrix.distro }} for ${{ matrix.arch }}

# Run steps on a matrix of 3 arch/distro combinations
strategy:
matrix:
include:
- arch: armv7
distro: ubuntu20.04
java: 17
# - arch: armv7
# distro: fedora_latest
# java: 17

steps:
- uses: actions/checkout@v2.1.0
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- uses: uraimo/run-on-arch-action@v2
name: Build artifact
id: build
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}

# Not required, but speeds up builds
githubToken: ${{ github.token }}

# Create an artifacts directory
setup: |
mkdir -p "${PWD}/artifacts"
# Mount the artifacts directory as /artifacts in the container
dockerRunArgs: |
--volume "${PWD}/artifacts:/artifacts"
# Pass some environment variables to the container
env: | # YAML, but pipe character is necessary
artifact_name: git-${{ matrix.distro }}_${{ matrix.arch }}
GITHUB_BUILD_NUMBER: ${{ github.run_number }}
# The shell to run commands with in the container
shell: /bin/sh

# Install some dependencies in the container. This speeds up builds if
# you are also using githubToken. Any dependencies installed here will
# be part of the container image that gets cached, so subsequent
# builds don't have to re-install them. The image layer is cached
# publicly in your project's package repository, so it is vital that
# no secrets are present in the container state or logs.
install:

# Produce a binary artifact and place it in the mounted volume
run: |
apt-get update -q -y
apt-get install -q -y git openjdk-17-jdk
./gradlew jpackage jpackageAlt --info
- name: capture the build artifacts
uses: actions/upload-artifact@v2
with:
name: Ultreon Browser Linux on ${{ matrix.arch }} Build ${{ github.run_number }}
path: build/dist/
build-macos:
strategy:
matrix:
Expand Down

0 comments on commit 30f556e

Please sign in to comment.