Skip to content

Commit 6387c02

Browse files
committed
pls pls pls :3
1 parent 2500a0b commit 6387c02

File tree

2 files changed

+65
-65
lines changed

2 files changed

+65
-65
lines changed

.github/workflows/pages.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
on: [push, pull_request, workflow_dispatch]
22

3-
name: CI
3+
name: Github Pages
44

55
env:
66
# --cfg=web_sys_unstable_apis is required to enable the web_sys clipboard API which egui_web uses
77
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
88
# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
9-
RUSTFLAGS: -D warnings --cfg=web_sys_unstable_apis
10-
RUSTDOCFLAGS: -D warnings
9+
RUSTFLAGS: -D --cfg=web_sys_unstable_apis
10+
RUSTDOCFLAGS: -D
1111

1212
jobs:
1313
check:

.github/workflows/rust.yml

+62-62
Original file line numberDiff line numberDiff line change
@@ -105,69 +105,69 @@ jobs:
105105
- name: Build
106106
run: ./trunk build
107107

108-
build:
109-
runs-on: ${{ matrix.os }}
110-
strategy:
111-
fail-fast: false
112-
matrix:
113-
include:
114-
- os: macos-latest
115-
TARGET: aarch64-apple-darwin
116-
117-
- os: ubuntu-latest
118-
TARGET: aarch64-unknown-linux-gnu
119-
120-
- os: ubuntu-latest
121-
TARGET: armv7-unknown-linux-gnueabihf
122-
123-
- os: ubuntu-latest
124-
TARGET: x86_64-unknown-linux-gnu
125-
126-
- os: windows-latest
127-
TARGET: x86_64-pc-windows-msvc
128-
EXTENSION: .exe
129-
130-
steps:
131-
- name: Building ${{ matrix.TARGET }}
132-
run: echo "${{ matrix.TARGET }}"
133-
134-
- uses: actions/checkout@master
135-
- name: Install build dependencies - Rustup
108+
# build:
109+
# runs-on: ${{ matrix.os }}
110+
# strategy:
111+
# fail-fast: false
112+
# matrix:
113+
# include:
114+
# - os: macos-latest
115+
# TARGET: aarch64-apple-darwin
116+
117+
# - os: ubuntu-latest
118+
# TARGET: aarch64-unknown-linux-gnu
119+
120+
# - os: ubuntu-latest
121+
# TARGET: armv7-unknown-linux-gnueabihf
122+
123+
# - os: ubuntu-latest
124+
# TARGET: x86_64-unknown-linux-gnu
125+
126+
# - os: windows-latest
127+
# TARGET: x86_64-pc-windows-msvc
128+
# EXTENSION: .exe
129+
130+
# steps:
131+
# - name: Building ${{ matrix.TARGET }}
132+
# run: echo "${{ matrix.TARGET }}"
133+
134+
# - uses: actions/checkout@master
135+
# - name: Install build dependencies - Rustup
136136
run: |
137-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable --profile default --target ${{ matrix.TARGET }} -y
138-
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
137+
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable --profile default --target ${{ matrix.TARGET }} -y
138+
# echo "$HOME/.cargo/bin" >> $GITHUB_PATH
139139
140140
# For linux, it's necessary to use cross from the git repository to avoid glibc problems
141141
# Ref: https://github.com/cross-rs/cross/issues/1510
142-
- name: Install cross for linux
143-
if: contains(matrix.TARGET, 'linux')
144-
run: |
145-
cargo install cross --git https://github.com/cross-rs/cross --rev 1b8cf50d20180c1a394099e608141480f934b7f7
146-
147-
- name: Install cross for mac and windows
148-
if: ${{ !contains(matrix.TARGET, 'linux') }}
149-
run: |
150-
cargo install cross
151-
152-
- name: Build
153-
run: |
154-
cross build --verbose --release --target=${{ matrix.TARGET }}
155-
156-
- name: Rename
157-
run: cp target/${{ matrix.TARGET }}/release/eframe_template${{ matrix.EXTENSION }} eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
158-
159-
- uses: actions/upload-artifact@master
160-
with:
161-
name: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
162-
path: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
163-
164-
- uses: svenstaro/upload-release-action@v2
165-
name: Upload binaries to release
166-
if: ${{ github.event_name == 'push' }}
167-
with:
168-
repo_token: ${{ secrets.GITHUB_TOKEN }}
169-
file: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
170-
asset_name: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
171-
tag: ${{ github.ref }}
172-
prerelease: ${{ !startsWith(github.ref, 'refs/tags/') }}
173-
overwrite: true
142+
# - name: Install cross for linux
143+
# if: contains(matrix.TARGET, 'linux')
144+
# run: |
145+
# cargo install cross --git https://github.com/cross-rs/cross --rev 1b8cf50d20180c1a394099e608141480f934b7f7
146+
147+
# - name: Install cross for mac and windows
148+
# if: ${{ !contains(matrix.TARGET, 'linux') }}
149+
# run: |
150+
# cargo install cross
151+
152+
# - name: Build
153+
# run: |
154+
# cross build --verbose --release --target=${{ matrix.TARGET }}
155+
156+
# - name: Rename
157+
# run: cp target/${{ matrix.TARGET }}/release/eframe_template${{ matrix.EXTENSION }} eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
158+
159+
# - uses: actions/upload-artifact@master
160+
# with:
161+
# name: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
162+
# path: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
163+
164+
# - uses: svenstaro/upload-release-action@v2
165+
# name: Upload binaries to release
166+
# if: ${{ github.event_name == 'push' }}
167+
# with:
168+
# repo_token: ${{ secrets.GITHUB_TOKEN }}
169+
# file: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
170+
# asset_name: eframe_template-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
171+
# tag: ${{ github.ref }}
172+
# prerelease: ${{ !startsWith(github.ref, 'refs/tags/') }}
173+
# overwrite: true

0 commit comments

Comments
 (0)