Merge remote-tracking branch 'einsiedler90/main' #73
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: docker build | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- image: debian:stable | |
container: | |
image: ${{ matrix.image }} | |
steps: | |
- name: Checkout main repository | |
uses: actions/checkout@v3 | |
# - name: Checkout developer-meta-files | |
# uses: actions/checkout@v3 | |
# with: | |
# repository: Kicksecure/developer-meta-files | |
# path: developer-meta-files | |
- name: System Basic Packages | |
run: | | |
apt-get update | |
apt-get install --yes --no-install-recommends wine fpc adduser shellcheck lazarus git ca-certificates libfile-mimeinfo-perl | |
- name: Install Packages from Debian trixie | |
run: | | |
echo 'deb https://deb.debian.org/debian trixie main' | tee /etc/apt/sources.list.d/trixie.list | |
apt-get update | |
apt-get install --yes --no-install-recommends fp-units-win-base fp-units-win-rtl fp-units-win-fcl fp-units-win-misc | |
- name: System information | |
run: | | |
whoami | |
cat /etc/os-release | |
uname -a | |
echo "${PATH}" | |
- name: Create regular (non-root) user | |
run: adduser --comment "" --disabled-password user | |
- name: Linux user file permissions fix | |
run: chown --recursive user:user /__w/Whonix-Installer | |
- name: Build and run test.exe | |
run: su -s /bin/bash user -- ./test.sh | |
# - name: ppcross_install | |
# run: ./developer-meta-files/usr/bin/ppcross_install all | |
- name: Build Installer | |
run: su -s /bin/bash user -- ./build-dummy.sh | |
- name: ShellCheck | |
run: shellcheck ./*.sh | |
# vim: sw=4 |