Skip to content

Commit

Permalink
remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 11, 2024
1 parent a8e8e1b commit e4fb9bc
Show file tree
Hide file tree
Showing 61 changed files with 92 additions and 1,056 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ jobs:
plugin: deno
args: |
fmt
test
coverage
- name: Run Dagger Pipelines
run: |
dagger -m github.com/fluent-ci-templates/rust-pipeline@main functions
- name: Upload to Codecov
run: fluentci run --wasm codecov upload
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
#- name: Upload to Codecov
# run: fluentci run --wasm codecov upload
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
publish:
needs: tests
runs-on: ubuntu-latest
Expand All @@ -36,6 +34,6 @@ jobs:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.41
deno-version: v1.42
- name: Publish package
run: deno publish --allow-slow-types
2 changes: 1 addition & 1 deletion .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
working-directory: example

- name: Run Dagger Pipelines
run: dagger run deno run -A ../src/dagger/runner.ts clippy test llvm_cov build
run: dagger run deno run -A ../src/runner.ts clippy test llvm_cov build
working-directory: example
35 changes: 12 additions & 23 deletions .github/workflows/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Fluent CI Engine CLI
run: |
wget https://github.com/fluentci-io/fluentci-engine/releases/download/v0.2.5/fluentci-engine_v0.2.5_x86_64-unknown-linux-gnu.tar.gz
tar xvf fluentci-engine_v0.2.5_x86_64-unknown-linux-gnu.tar.gz
sudo mv fluentci-engine /usr/local/bin
- name: Set env
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "MODULE=https://github.com/fluent-ci-templates/rust-pipeline/releases/download/v0.10.1/rust.wasm" >> $GITHUB_ENV
- name: Add wasm32-unknown-unknown target
run: |
fluentci-engine call -m $MODULE -- \
target_add wasm32-unknown-unknown
- name: Build
- name: Setup Fluent CI CLI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: rust
args: |
add_target wasm32-unknown-unknown
build --target wasm32-unknown-unknown --release
working-directory: plugin
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: List files
run: |
fluentci-engine call -m $MODULE -- \
build \
--target wasm32-unknown-unknown \
--release
ls -ltr target/wasm32-unknown-unknown/release
working-directory: plugin
37 changes: 13 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,25 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Fluent CI CLI
uses: fluentci-io/setup-fluentci@v4

- name: Setup Fluent CI Engine CLI
run: |
wget https://github.com/fluentci-io/fluentci-engine/releases/download/v0.2.5/fluentci-engine_v0.2.5_x86_64-unknown-linux-gnu.tar.gz
tar xvf fluentci-engine_v0.2.5_x86_64-unknown-linux-gnu.tar.gz
sudo mv fluentci-engine /usr/local/bin
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: .
args: |
add_target wasm32-unknown-unknown
build --target wasm32-unknown-unknown --release
working-directory: plugin
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set env
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "MODULE=https://github.com/fluent-ci-templates/rust-pipeline/releases/download/v0.10.1/rust.wasm" >> $GITHUB_ENV
- name: Add wasm32-unknown-unknown target
run: |
fluentci-engine call -m $MODULE -- \
target_add wasm32-unknown-unknown
- name: Build
run: |
fluentci-engine call -m $MODULE -- \
build \
--target wasm32-unknown-unknown \
--release
ls -ltr target/wasm32-unknown-unknown/release
- name: Upload release
run: |
export FILE=/app/plugin/target/wasm32-unknown-unknown/release/rust.wasm
fluentci run github_pipeline release_upload
export FILE=./plugin/target/wasm32-unknown-unknown/release/rust.wasm
fluentci run --wasm github release_upload $FILE
env:
TAG: ${{ env.RELEASE_VERSION }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/zenith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- name: Setup Dagger Zenith
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.11.7 sh
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.12.4 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Run Dagger Pipelines
Expand Down
2 changes: 1 addition & 1 deletion example/.fluentci/mod.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "./src/dagger/index.ts";
export * from "./src/mod.ts";
39 changes: 0 additions & 39 deletions example/.fluentci/src/aws/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions example/.fluentci/src/aws/config.ts

This file was deleted.

9 changes: 0 additions & 9 deletions example/.fluentci/src/aws/config_test.ts

This file was deleted.

3 changes: 0 additions & 3 deletions example/.fluentci/src/aws/init.ts

This file was deleted.

42 changes: 0 additions & 42 deletions example/.fluentci/src/azure/README.md

This file was deleted.

41 changes: 0 additions & 41 deletions example/.fluentci/src/azure/config.ts

This file was deleted.

9 changes: 0 additions & 9 deletions example/.fluentci/src/azure/config_test.ts

This file was deleted.

3 changes: 0 additions & 3 deletions example/.fluentci/src/azure/init.ts

This file was deleted.

47 changes: 0 additions & 47 deletions example/.fluentci/src/circleci/README.md

This file was deleted.

Loading

0 comments on commit e4fb9bc

Please sign in to comment.