Skip to content

Commit

Permalink
build opensc
Browse files Browse the repository at this point in the history
  • Loading branch information
z4yx committed Oct 11, 2023
1 parent 1b0e9be commit 1e7a9a0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/opensc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: opensc-build
on: [push, pull_request]
jobs:
build_test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Package Install
run: |
sudo sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -q -y git gcc g++ cmake swig psmisc procps debian-keyring devscripts
sudo apt-get build-dep -q -y opensc
- name: Build the package
run: |
dget http://archive.ubuntu.com/ubuntu/pool/universe/o/opensc/opensc_0.23.0-0.1ubuntu1.dsc
cd opensc-0.23.0
dch --local ppa~jammy --distribution jammy "Backports to Jammy"
DEB_BUILD_OPTIONS='parallel=2' debuild --no-sign -b
- name: Upload package files
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: deb
path: opensc*.deb

0 comments on commit 1e7a9a0

Please sign in to comment.