|
68 | 68 | command: clippy |
69 | 69 | args: -- -A clippy::upper_case_acronyms -D warnings |
70 | 70 |
|
71 | | - #fmt_and_clippy_windows: |
72 | | - # name: Cargo Fmt and Clippy - Windows |
73 | | - # runs-on: windows-latest |
74 | | - # needs: check_pr_is_on_the_right_branch |
75 | | - # steps: |
76 | | - # - name: Checkout |
77 | | - # uses: actions/checkout@v3 |
78 | | - # - name: Install Rustup |
79 | | - # uses: crazy-max/ghaction-chocolatey@v2 |
80 | | - # with: |
81 | | - # args: install rustup.install --ignore-checksums |
82 | | - # - name: Install Rust toolchain |
83 | | - # run: | |
84 | | - # rustup toolchain install stable-x86_64-pc-windows-msvc |
85 | | - # - name: Check formatting |
86 | | - # uses: bpetit/action-cargo@v2.0.1 |
87 | | - # with: |
88 | | - # command: fmt |
89 | | - # args: --all -- --check |
90 | | - # - name: Clippy Check |
91 | | - # uses: bpetit/action-cargo@v2.0.1 |
92 | | - # with: |
93 | | - # command : clippy |
94 | | - # args: --no-default-features --features "prometheus json riemann warpten" |
95 | | - |
96 | 71 | test_linux_x86_64: |
97 | 72 | name: Test on GNU/Linux x86_64 (Bare metal worker) |
98 | 73 | runs-on: ubuntu-latest |
@@ -158,26 +133,3 @@ jobs: |
158 | 133 | id: promtest |
159 | 134 | run: | |
160 | 135 | awx --conf.token ${{ steps.login.outputs.awx_token }} --conf.host ${{ secrets.AWX_HOST }} job_templates launch --extra_vars="{\"github_repository\":\"${GITHUB_REPOSITORY}\",\"github_actor\":\"${GITHUB_ACTOR}\",\"github_workflow\":\"${GITHUB_WORKFLOW}\",\"github_workspace\":\"${GITHUB_WORKSPACE}\",\"github_event_name\":\"${GITHUB_EVENT_NAME}\",\"github_event_path\":\"${GITHUB_EVENT_PATH}\",\"github_sha\":\"${GITHUB_SHA}\",\"github_ref\":\"${GITHUB_REF}\",\"github_head_ref\":\"${GITHUB_HEAD_REF}\",\"github_base_ref\":\"${GITHUB_BASE_REF}\",\"github_server_url\":\"${GITHUB_SERVER_URL}\"}" 16 --monitor |
161 | | - #test_windows_x86_64: |
162 | | - # name: Test on Windows x86_64 (Virtual machine worker) |
163 | | - # runs-on: "windows-latest" |
164 | | - # steps: |
165 | | - # - name: Checkout |
166 | | - # uses: actions/checkout@v3 |
167 | | - # - name: Install openssl for Windows with vcpkg |
168 | | - # run: | |
169 | | - # echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append |
170 | | - # vcpkg install openssl:x64-windows-static-md |
171 | | - # - name: Install Rustup |
172 | | - # uses: crazy-max/ghaction-chocolatey@v2 |
173 | | - # with: |
174 | | - # args: install rustup.install --ignore-checksums |
175 | | - # - name: Install Rust toolchain |
176 | | - # run: | |
177 | | - # rustup toolchain install stable-x86_64-pc-windows-msvc |
178 | | - # - name: Tests |
179 | | - # run: | |
180 | | - # cargo test --no-default-features --features "prometheus prometheuspush json riemann" exporters |
181 | | - # - name: Build (debug mode) |
182 | | - # run: | |
183 | | - # cargo build --no-default-features --features "prometheus prometheuspush json riemann" |
0 commit comments