Fixes and backport #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-plugin | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
# Automatically cancel any previous workflow on new push. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | |
cancel-in-progress: true | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
container: | |
image: alpine:edge | |
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined | |
steps: | |
- name: Install dependencies | |
run: apk add --no-cache git gcc g++ linux-headers cmake curl wget unzip py3-wheel py3-setuptools py3-pip meson ninja xz | |
- name: Checkout jsdec | |
run: | | |
git clone https://github.com/${{ github.repository }} jsdec | |
cd jsdec | |
git fetch origin ${{ github.ref }} | |
git checkout -b local_branch FETCH_HEAD | |
pwd ; ls -lah | |
- name: build & run the plugin | |
run: | | |
pwd ; ls -lah | |
cd jsdec | |
chmod +x .ci-scripts/ci-build-linux.sh | |
.ci-scripts/ci-build-linux.sh "${{ github.ref_name }}" |