Skip to content

Commit 97efd4b

Browse files
feat: add basic support for loading apps
1 parent 221976d commit 97efd4b

36 files changed

Lines changed: 451 additions & 717 deletions

.github/workflows/build.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Format and lint
2+
3+
on:
4+
push:
5+
branches: [ "rewrite" ]
6+
pull_request:
7+
branches: [ "rewrite" ]
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
check:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: dtolnay/rust-toolchain@nightly
20+
with:
21+
components: clippy,rustfmt
22+
23+
- uses: mbrobbel/rustfmt-check@master
24+
with:
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
mode: review
27+
28+
- uses: auguwu/clippy-action@1.4.0
29+
with:
30+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/docker.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build container image
2+
3+
on:
4+
push:
5+
branches: [ "rewrite" ]
6+
7+
permissions:
8+
packages: write
9+
10+
env:
11+
IMAGE_REGISTRY: ghcr.io
12+
IMAGE_NAME: winapps-org/windows
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
22+
- name: Extract metadata (tags, labels) for Docker
23+
id: meta
24+
uses: docker/metadata-action@v4
25+
with:
26+
images: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
27+
28+
- name: Build image
29+
id: build
30+
uses: redhat-actions/buildah-build@v2
31+
with:
32+
image: ${{ env.IMAGE_NAME }}
33+
tags: ${{ steps.meta.outputs.tags }}
34+
labels: ${{ steps.meta.outputs.labels }}
35+
context: winapps-image
36+
containerfiles: |
37+
Containerfile
38+
39+
- name: Push image to GHCR
40+
uses: redhat-actions/push-to-registry@v2
41+
with:
42+
image: ${{ steps.build.outputs.image }}
43+
tags: ${{ steps.build.outputs.tags }}
44+
registry: ${{ env.IMAGE_REGISTRY }}
45+
username: ${{ github.actor }}
46+
password: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/rust-clippy.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/workflows/rust.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@ target/
44

55
# We don't want to commit IDE configuration files.
66
.idea/
7+
winapps.iml
78
.vscode/
89
.direnv
10+
.wakatime-project
11+
12+
# User config
13+
compose.yaml

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Thank you for contributing to winapps! Before you can contribute, we ask some things of you:
44

55
- Please follow our Code of Conduct, the Contributor Covenant. You can find a copy in this repository or under https://www.contributor-covenant.org/
6-
- All Contributors have to sign [a CLA](https://gist.github.com/oskardotglobal/35f0a72eb45fcc7087e535561383dbc5) for legal reasons. When opening a PR, @cla-assitant will prompt you and guide you through the process. However, if you contribute on behalf of a legal entity, we ask of you to sign [a different CLA](https://gist.github.com/oskardotglobal/75a8cc056e56a439fa6a1551129ae47f). In that case, please contact us.
6+
- All Contributors have to sign [a CLA](https://gist.github.com/oskardotglobal/35f0a72eb45fcc7087e535561383dbc5) for legal reasons. When opening a PR, @cla-assistant will prompt you and guide you through the process. However, if you contribute on behalf of a legal entity, we ask of you to sign [a different CLA](https://gist.github.com/oskardotglobal/75a8cc056e56a439fa6a1551129ae47f). In that case, please contact us.
77

88
## How to contribute
99

0 commit comments

Comments
 (0)