Skip to content

Commit

Permalink
rewrite and 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greaka committed Jun 13, 2024
1 parent 8954bc5 commit 60d50e4
Show file tree
Hide file tree
Showing 16 changed files with 1,047 additions and 615 deletions.
11 changes: 11 additions & 0 deletions .earthlyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.git/
.gitignore
.gitlab-ci.yml
.idea/
.rustfmt.toml
docker/
target/
.github/
readme.md
*.dll
*.pdb
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Earthly

on:
push:
pull_request:

permissions:
contents: read
packages: write

jobs:
build:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
steps:
- uses: earthly/actions-setup@v1
with:
version: v0.8.0
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run build
if: ${{ github.event_name == 'push' && github.ref_name == github.event.repository.default_branch }}
run: earthly --ci --push -a '+addon/*' ./
- name: Run build
if: ${{ !(github.event_name == 'push' && github.ref_name == github.event.repository.default_branch) }}
run: earthly --ci -a '+addon/*' ./
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: addon
path: |
./*.dll
./*.pdb
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/target
**/*.rs.bk
.idea/
*.dll
*.pdb
Loading

0 comments on commit 60d50e4

Please sign in to comment.