Skip to content

Commit

Permalink
Merge branch 'master' into html5-css
Browse files Browse the repository at this point in the history
  • Loading branch information
gerph committed Mar 22, 2022
2 parents 5159e9c + 3875985 commit b143107
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,22 @@ jobs:
export-posix:
runs-on: ubuntu-20.04
needs: ["test-riscos", "test-platforms"]
container: ubuntu:18.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Prerequisites
run: |
apt-get update && apt-get install -y git make
sudo apt-get update && sudo apt-get install -y git make
- name: Build release
run: |
set -e
eval "$(crosscompile/ci-vars)"
cd crosscompile
make cross_install ROTOOL_DIR=../artifacts
../artifacts/riscos-prminxml --version
- uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -146,6 +147,7 @@ jobs:
- name: Build through build.riscos.online
run: |
mkdir -p artifacts
eval "$(crosscompile/ci-vars)"
crosscompile/build-riscos-archive.sh ${{ steps.version.outputs.leafname }}
- uses: actions/upload-artifact@v2
Expand Down
5 changes: 5 additions & 0 deletions crosscompile/build-riscos-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ if [[ "${install_dir}" = '' ]] ; then
exit 1
fi

if [[ "$CI_BRANCH_VERSION" = '' ]] ; then
echo "ERROR: Cannot build the tool without the CI_BRANCH_VERSION variable (use ci-vars)" >&2
exit 1
fi

# Get the version we are building
version=${CI_BRANCH_VERSION:-VERSION}

Expand Down

0 comments on commit b143107

Please sign in to comment.