add workflows
Some checks failed
PikaOS Package Build Only (amd64-v3) / build (push) Failing after 0s
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 1m14s
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1s

This commit is contained in:
Ward from fusion-voyager-3 2024-07-24 04:21:44 +03:00
parent 431091d933
commit f84535f74f
10 changed files with 39 additions and 47 deletions

1
.github/ build-canary-v3 vendored Normal file
View File

@ -0,0 +1 @@
1

1
.github/build-nest-v3 vendored Normal file
View File

@ -0,0 +1 @@
1

1
.github/release-canary-v3 vendored Normal file
View File

@ -0,0 +1 @@
1

1
.github/release-nest-v3 vendored Normal file
View File

@ -0,0 +1 @@
1

View File

@ -1,11 +1,15 @@
name: PikaOS Package Build Only (Canary) (amd64-v3) name: PikaOS Package Build Only (Canary) (amd64-v3)
on: on:
workflow_dispatch push:
branches:
- main
paths:
- '.github/build-canary-v3'
jobs: jobs:
build: build:
runs-on: self-hosted runs-on: ubuntu-latest
container: container:
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3 image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
volumes: volumes:
@ -15,19 +19,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Install SSH key - name: Install SSH key
uses: shimataro/ssh-key-action@v2 uses: shimataro/ssh-key-action@v2
with: with:
key: ${{ secrets.SSH_KEY }} key: ${{ vars.SSH_KEY }}
name: id_rsa name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ vars.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache - name: Update APT Cache

View File

@ -1,11 +1,15 @@
name: PikaOS Package Build Only (amd64-v3) name: PikaOS Package Build Only (amd64-v3)
on: on:
workflow_dispatch push:
branches:
- main
paths:
- '.github/build-nest-v3'
jobs: jobs:
build: build:
runs-on: self-hosted runs-on: ubuntu-latest
container: container:
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3 image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
volumes: volumes:
@ -15,19 +19,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Install SSH key - name: Install SSH key
uses: shimataro/ssh-key-action@v2 uses: shimataro/ssh-key-action@v2
with: with:
key: ${{ secrets.SSH_KEY }} key: ${{ vars.SSH_KEY }}
name: id_rsa name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ vars.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache - name: Update APT Cache

View File

@ -1,11 +1,15 @@
name: PikaOS Package Build & Release (Canary) (amd64-v3) name: PikaOS Package Build & Release (Canary) (amd64-v3)
on: on:
workflow_dispatch push:
branches:
- main
paths:
- '.github/release-canary-v3'
jobs: jobs:
build: build:
runs-on: self-hosted runs-on: ubuntu-latest
container: container:
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3 image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
volumes: volumes:
@ -15,19 +19,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Install SSH key - name: Install SSH key
uses: shimataro/ssh-key-action@v2 uses: shimataro/ssh-key-action@v2
with: with:
key: ${{ secrets.SSH_KEY }} key: ${{ vars.SSH_KEY }}
name: id_rsa name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ vars.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache - name: Update APT Cache

View File

@ -1,11 +1,15 @@
name: PikaOS Package Build & Release (amd64-v3) name: PikaOS Package Build & Release (amd64-v3)
on: on:
workflow_dispatch push:
branches:
- main
paths:
- '.github/release-nest-v3'
jobs: jobs:
build: build:
runs-on: self-hosted runs-on: ubuntu-latest
container: container:
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3 image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
volumes: volumes:
@ -15,19 +19,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Install SSH key - name: Install SSH key
uses: shimataro/ssh-key-action@v2 uses: shimataro/ssh-key-action@v2
with: with:
key: ${{ secrets.SSH_KEY }} key: ${{ vars.SSH_KEY }}
name: id_rsa name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ vars.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache - name: Update APT Cache

View File

@ -1,2 +1,3 @@
[build] [build]
target = "x86-64-v3" [target.x86_64-unknown-linux-gnu]
rustflags = ["-Ctarget-cpu=x86-64-v3"]

View File

@ -2,5 +2,4 @@ pub const APP_ID: &str = "com.github.pikaos-linux.pikadrivers";
pub const VERSION: &str = env!("CARGO_PKG_VERSION"); pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const APP_ICON: &str = "com.github.pikaos-linux.pikadrivers"; pub const APP_ICON: &str = "com.github.pikaos-linux.pikadrivers";
pub const APP_GITHUB: &str = "https://github.com/PikaOS-Linux/pkg-pika-drivers"; pub const APP_GITHUB: &str = "https://github.com/PikaOS-Linux/pkg-pika-drivers";
pub const DRIVER_DB_JSON_URL: &str = pub const DRIVER_DB_JSON_URL: &str = "https://git.pika-os.com/custom-gui-packages/pika-drivers/raw/branch/main/driver-db.json";
"https://raw.githubusercontent.com/PikaOS-Linux/pkg-pika-drivers/main/driver-db.json";