aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/android.yml3
-rw-r--r--.github/workflows/dockerimages.yml72
-rw-r--r--.github/workflows/linux-trusty-5.12.yml3
-rw-r--r--.github/workflows/windows.yml3
4 files changed, 81 insertions, 0 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 63543ca32..db8c17ed5 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -11,6 +11,9 @@ jobs:
buildInContainer:
runs-on: ubuntu-latest
container:
+ # FIXME: Use templating once we can mangle org/repo name into something that docker accepts.
+ # and anonymus / actions access to github packages works.
+ #image: docker://docker.pkg.github.com/${{ github.repository }}/android-builder:5.13.01
image: docker://dirkhh/android-builder:5.13.01
steps:
diff --git a/.github/workflows/dockerimages.yml b/.github/workflows/dockerimages.yml
new file mode 100644
index 000000000..10eebd0ef
--- /dev/null
+++ b/.github/workflows/dockerimages.yml
@@ -0,0 +1,72 @@
+name: Docker Image CI
+
+on:
+ push:
+ branches:
+ - master
+ paths:
+ - scripts/docker/android-build-container/Dockerfile
+ - scripts/docker/mxe-build-container/Dockerfile
+ - scripts/docker/trusty-qt512/Dockerfile
+
+
+jobs:
+ android-build-container:
+ runs-on: ubuntu-latest
+ env:
+ VERSION: 5.13.01
+
+ steps:
+ - uses: actions/checkout@v1
+
+ - name: Get our pre-reqs
+ run: |
+ cd scripts/docker/android-build-container
+ bash download.sh
+ sed -ie 's/^sudo/#sudo/' setup-docker.sh
+ bash setup-docker.sh
+
+ - name: Build the Docker image
+ run: docker build ./scripts/docker/android-build-container/ --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/android-build-container:${VERSION}
+
+ - name: Push the Docker image
+ run: |
+ docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY/\/*/} -p ${{ secrets.GITHUB_TOKEN }}
+ docker push docker.pkg.github.com/${GITHUB_REPOSITORY,,}/android-build-container:${VERSION}
+
+ mxe-build-container:
+ runs-on: ubuntu-latest
+ timeout-minutes: 720
+ env:
+ VERSION: 0.9
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Build the Docker image
+ run: docker build ./scripts/docker/mxe-build-container/ --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/mxe-build-container:${VERSION}
+
+ - name: Push the Docker image
+ run: |
+ docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY/\/*/} -p ${{ secrets.GITHUB_TOKEN }}
+ docker push docker.pkg.github.com/${GITHUB_REPOSITORY,,}/mxe-build-container:${VERSION}
+
+ trusty-qt512:
+ runs-on: ubuntu-latest
+ env:
+ VERSION: 0.7
+
+ steps:
+ - uses: actions/checkout@v1
+
+ - name: Get our pre-reqs
+ run: |
+ cd scripts/docker/trusty-qt512
+ bash getpackages.sh
+
+ - name: Build the Docker image
+ run: docker build ./scripts/docker/trusty-qt512/ --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/trusty-qt512:${VERSION}
+
+ - name: Push the Docker image
+ run: |
+ docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY/\/*/} -p ${{ secrets.GITHUB_TOKEN }}
+ docker push docker.pkg.github.com/${GITHUB_REPOSITORY,,}/trusty-qt512:${VERSION}
diff --git a/.github/workflows/linux-trusty-5.12.yml b/.github/workflows/linux-trusty-5.12.yml
index 9783cc301..e9c23afc7 100644
--- a/.github/workflows/linux-trusty-5.12.yml
+++ b/.github/workflows/linux-trusty-5.12.yml
@@ -11,6 +11,9 @@ jobs:
buildInContainer:
runs-on: ubuntu-latest
container:
+ # FIXME: Use templating once we can mangle org/repo name into something that docker accepts.
+ # and anonymus / actions access to github packages works.
+ #image: docker://docker.pkg.github.com/${{ github.repository }}/trusty-qt512:0.7
image: docker://dirkhh/trusty-qt512:0.7
steps:
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index b8a3030de..2710cfa37 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -11,6 +11,9 @@ jobs:
buildInContainer:
runs-on: ubuntu-latest
container:
+ # FIXME: Use templating once we can mangle org/repo name into something that docker accepts.
+ # and anonymus / actions access to github packages works.
+ #image: docker://docker.pkg.github.com/${{ github.repository }}/mxe-build-container:0.9
image: docker://dirkhh/mxe-build-container:0.9
steps: