build: add CI (using Docker) #2

Merged
Future merged 57 commits from build/ci-docker into main 2024-03-26 18:18:35 +00:00
2 changed files with 10 additions and 12 deletions
Showing only changes of commit f9f511ebf4 - Show all commits

View File

@ -16,16 +16,11 @@ jobs:
# NOTE - If LFS ever starts getting used for storing zones, switch this to true! # NOTE - If LFS ever starts getting used for storing zones, switch this to true!
lfs: false lfs: false
- name: Install Docker - name: Test Docker
run: | uses: addnab/docker-run-action@v3
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
- name: Setup OAT
uses: diamante0018/setup-oat@main
with: with:
version: "0.10.0" image: ubuntu:noble
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
- name: Link assets run: |
run: | cd ${{ github.workspace }}
docker run -it --rm -v ${{ gitea.workspace }}:/workspace --workdir /workspace ubuntu:noble sh -c "ls -al" ./test.sh

3
test.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
echo "hello"