2022-01-15 17:40:25 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Performs a test install of the package from the AUR. If the package fails to install, there should be a non-zero exit code.
|
|
|
|
# Intended for use with CI.
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd scripts/docker/arch/
|
|
|
|
tar -cvf arch-docker.tar.gz .
|
|
|
|
docker image build -t steamguard-cli-archlinux-builder - < arch-docker.tar.gz
|
|
|
|
rm arch-docker.tar.gz
|
|
|
|
|
2022-06-12 17:36:43 +02:00
|
|
|
BIN_NAME="steamguard"
|
|
|
|
|
|
|
|
docker run --rm steamguard-cli-archlinux-builder /bin/bash -c "./install.sh steamguard-cli-git && $BIN_NAME --version"
|
2022-01-15 17:40:25 +01:00
|
|
|
|
|
|
|
docker image rm steamguard-cli-archlinux-builder:latest
|