fix build error #3
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: opensc-build | |
on: [push, pull_request] | |
jobs: | |
build_test: | |
name: Build opensc package | |
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 | |
rm /usr/bin/clang-tidy | |
- 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 |