Something went wrong. Try again.
๐๏ธ apply a wallpaper based on the weather outside
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163name: Build
on: push: branches: ["main"] pull_request: branches: ["main"] workflow_dispatch:
permissions: contents: read
jobs: windows-x86_64: runs-on: ubuntu-latest
steps: - name: Setup repo uses: actions/checkout@v4
- name: Setup Deno uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2 with: deno-version: v2.8.x
- name: Install Deno packages run: deno install
- name: Run linter run: deno lint
- name: Build apply run: deno compile --target x86_64-pc-windows-msvc --output build/rainwall-apply -A ./src/apply/index.ts
- name: Build analyze run: deno compile --target x86_64-pc-windows-msvc --output build/rainwall-analyze -A ./src/analyze/index.ts
- name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: windows-x86_64 path: build/
linux-x86_64: runs-on: ubuntu-latest
steps: - name: Setup repo uses: actions/checkout@v4
- name: Setup Deno uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2 with: deno-version: v2.8.x
- name: Install Deno packages run: deno install
- name: Run linter run: deno lint
- name: Build apply run: deno compile --target x86_64-unknown-linux-gnu --output build/rainwall-apply-linux-x86_64 -A ./src/apply/index.ts
- name: Build analyze run: deno compile --target x86_64-unknown-linux-gnu --output build/rainwall-analyze-linux-x86_64 -A ./src/analyze/index.ts
- name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: linux-x86_64 path: build/
linux-aarch64: runs-on: ubuntu-latest
steps: - name: Setup repo uses: actions/checkout@v4
- name: Setup Deno uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2 with: deno-version: v2.8.x
- name: Install Deno packages run: deno install
- name: Run linter run: deno lint
- name: Build apply run: deno compile --target aarch64-unknown-linux-gnu --output build/rainwall-apply-linux-aarch64 -A ./src/apply/index.ts
- name: Build analyze run: deno compile --target aarch64-unknown-linux-gnu --output build/rainwall-analyze-linux-aarch64 -A ./src/analyze/index.ts
- name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: linux-aarch64 path: build/
darwin-x86_64: runs-on: ubuntu-latest
steps: - name: Setup repo uses: actions/checkout@v4
- name: Setup Deno uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2 with: deno-version: v2.8.x
- name: Install Deno packages run: deno install
- name: Run linter run: deno lint
- name: Build apply run: deno compile --target x86_64-apple-darwin --output build/rainwall-apply -A ./src/apply/index.ts
- name: Build analyze run: deno compile --target x86_64-apple-darwin --output build/rainwall-analyze -A ./src/analyze/index.ts
- name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: darwin-x86_64 path: build/
darwin-aarch64: runs-on: ubuntu-latest
steps: - name: Setup repo uses: actions/checkout@v4
- name: Setup Deno uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2 with: deno-version: v2.8.x
- name: Install Deno packages run: deno install
- name: Run linter run: deno lint
- name: Build apply run: deno compile --target aarch64-apple-darwin --output build/rainwall-apply -A ./src/apply/index.ts
- name: Build analyze run: deno compile --target aarch64-apple-darwin --output build/rainwall-analyze -A ./src/analyze/index.ts
- name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: darwin-aarch64 path: build/