Skip to content

Commit

Permalink
qrc: Migrate to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaskin committed Jun 23, 2023
1 parent d23260a commit 07d94c8
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 60 deletions.
60 changes: 0 additions & 60 deletions .drone.yml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Test
on:
push:
pull_request:

jobs:
test_go:
name: Go
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.14.x'
- name: Go vet
run: go vet ./...
- name: Go test
run: go test -v ./...
test_kb_qrc2zip:
name: nickel.15505 (qrc2zip)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.14.x'
- name: Test - build
run: ./test/nickel.15505.sh 0
- name: Test - download
run: ./test/nickel.15505.sh 1
- name: Test - extract
run: ./test/nickel.15505.sh 2
- name: Test - sha1sums
run: ./test/nickel.15505.sh 3
- name: Test - list
run: ./test/nickel.15505.sh 4
- name: Test - cleanup
run: ./test/nickel.15505.sh 5
test_kb_armqrc:
name: nickel.15505 (armqrc)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: python -m pip install pyelftools==0.29 unicorn==2.0.0
- name: Download nickel
run: ./test/nickel.15505.sh 1
- name: Run armqrc
run: python ./scripts/armqrc.py ./test/nickel

0 comments on commit 07d94c8

Please sign in to comment.