This commit is contained in:
parent
08417abd93
commit
7f1df3a9fc
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/compile.yaml
Normal file
22
.forgejo/workflows/compile.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: code.forgejo.org/oci/debian:latest
|
||||
steps:
|
||||
- name: prepare packages
|
||||
run: |
|
||||
apt update && \
|
||||
apt -y install git
|
||||
|
||||
- name: checkout
|
||||
run: |
|
||||
git init
|
||||
git remote add origin ${FORGEJO_SERVER_URL}/${FORGEJO_REPOSITORY}
|
||||
git fetch origin
|
||||
git fetch origin ${FORGEJO_REF}
|
||||
git checkout ${FORGEJO_REF_NAME}
|
||||
|
||||
- name: build the package
|
||||
run: cargo build
|
||||
Loading…
Add table
Add a link
Reference in a new issue