Version bump. Support more architectures
This commit is contained in:
		
							parent
							
								
									1a2bb27141
								
							
						
					
					
						commit
						a2897f5c6e
					
				|  | @ -1,10 +1,30 @@ | ||||||
| pipeline: | pipeline: | ||||||
|  |   build: | ||||||
|  |     image: rust:1-buster | ||||||
|  |     when: | ||||||
|  |       event: tag | ||||||
|  |     commands: | ||||||
|  |       - cargo build --release | ||||||
|  |   buildlinuxaarch64: | ||||||
|  |     image: rust:1-buster | ||||||
|  |     when: | ||||||
|  |       event: tag | ||||||
|  |     commands: | ||||||
|  |       - apt-get update && apt-get install gcc-aarch64-linux-gnu | ||||||
|  |       - rustup target add aarch64-unknown-linux-gnu | ||||||
|  |       - cargo build --release --target gcc-aarch64-linux-gnu | ||||||
|   release: |   release: | ||||||
|     image: rust:1-buster |     image: rust:1-buster | ||||||
|     when:  |     when:  | ||||||
|       event: tag |       event: tag | ||||||
|     secrets: [ gitea_api_key , cargo_registry_token ] |     secrets: [ gitea_api_key ] | ||||||
|     commands: |     commands: | ||||||
|       - cargo build --release |  | ||||||
|       - curl --user guillem:$GITEA_API_KEY --upload-file target/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-amd64 |       - curl --user guillem:$GITEA_API_KEY --upload-file target/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-amd64 | ||||||
|  |       - curl --user guillem:$GITEA_API_KEY --upload-file target/aarch64-unknown-linux-gnu/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-aarch64 | ||||||
|  |   publish: | ||||||
|  |     image: rust:1-buster | ||||||
|  |     when: | ||||||
|  |       event: tag | ||||||
|  |     secrets: [ cargo_registry_token ] | ||||||
|  |     commands: | ||||||
|       - cargo publish --token $CARGO_REGISTRY_TOKEN |       - cargo publish --token $CARGO_REGISTRY_TOKEN | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| [package] | [package] | ||||||
| name = "dr" | name = "dr" | ||||||
| description = "Command-line data file processing in Rust" | description = "Command-line data file processing in Rust" | ||||||
| version = "0.3.0" | version = "0.3.1" | ||||||
| edition = "2021" | edition = "2021" | ||||||
| include = [ | include = [ | ||||||
|     "**/*.rs", |     "**/*.rs", | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue