-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
Develop
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: sudo apt-get install liblz4-1 libuv1 libzopfli1 mame-tools yarn | ||
run: sudo apt-get install bchunk liblz4-1 libuv1 libzopfli1 mame-tools wit yarn | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- name: Install rust toolchain | ||
|
@@ -39,22 +39,22 @@ jobs: | |
- name: Run clippy | ||
uses: actions-rs/clippy-check@v1 | ||
with: | ||
args: --features benchmark,server | ||
token: ${{secrets.GITHUB_TOKEN}} | ||
- name: Run audit | ||
uses: actions-rs/audit-check@v1 | ||
with: | ||
args: --features server | ||
token: ${{secrets.GITHUB_TOKEN}} | ||
# - name: Run audit | ||
# uses: actions-rs/audit-check@v1 | ||
# with: | ||
# token: ${{secrets.GITHUB_TOKEN}} | ||
- name: Build | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --release --features benchmark,server | ||
args: --release --features server | ||
- name: Test | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: llvm-cov | ||
args: --features benchmark,server --lcov --output-path lcov.info | ||
args: --features server --lcov --output-path lcov.info | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Publish Docker image | ||
|
||
on: | ||
push: | ||
branches: [develop] | ||
|
||
jobs: | ||
push_to_registry: | ||
name: Push Docker image to Docker Hub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: alucryd/oxyromon | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
file: ./Dockerfile.archlinux | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.