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)
on:
workflow_dispatch
push:
branches:
- main
paths:
- '.github/build-canary-v3'
jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
volumes:
@ -14,20 +18,13 @@ jobs:
steps:
- 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
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
key: ${{ vars.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
known_hosts: ${{ vars.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache

View File

@ -1,11 +1,15 @@
name: PikaOS Package Build Only (amd64-v3)
on:
workflow_dispatch
push:
branches:
- main
paths:
- '.github/build-nest-v3'
jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
volumes:
@ -14,20 +18,13 @@ jobs:
steps:
- 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
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
key: ${{ vars.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
known_hosts: ${{ vars.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache

View File

@ -1,11 +1,15 @@
name: PikaOS Package Build & Release (Canary) (amd64-v3)
on:
workflow_dispatch
push:
branches:
- main
paths:
- '.github/release-canary-v3'
jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
volumes:
@ -14,20 +18,13 @@ jobs:
steps:
- 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
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
key: ${{ vars.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
known_hosts: ${{ vars.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache

View File

@ -1,11 +1,15 @@
name: PikaOS Package Build & Release (amd64-v3)
on:
workflow_dispatch
push:
branches:
- main
paths:
- '.github/release-nest-v3'
jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
volumes:
@ -14,20 +18,13 @@ jobs:
steps:
- 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
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
key: ${{ vars.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
known_hosts: ${{ vars.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache

View File

@ -1,2 +1,3 @@
[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 APP_ICON: &str = "com.github.pikaos-linux.pikadrivers";
pub const APP_GITHUB: &str = "https://github.com/PikaOS-Linux/pkg-pika-drivers";
pub const DRIVER_DB_JSON_URL: &str =
"https://raw.githubusercontent.com/PikaOS-Linux/pkg-pika-drivers/main/driver-db.json";
pub const DRIVER_DB_JSON_URL: &str = "https://git.pika-os.com/custom-gui-packages/pika-drivers/raw/branch/main/driver-db.json";